KiCad PCB EDA Suite
|
#include <kiid.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <nlohmann/json.hpp>
#include <cctype>
#include <mutex>
#include <wx/log.h>
Go to the source code of this file.
Functions | |
KIID & | NilUuid () |
void | to_json (nlohmann::json &aJson, const KIID &aKIID) |
void | from_json (const nlohmann::json &aJson, KIID &aKIID) |
Variables | |
static std::mutex | rng_mutex |
static boost::mt19937 | rng |
static boost::uuids::basic_random_generator< boost::mt19937 > | randomGenerator |
static boost::uuids::string_generator | stringGenerator |
static boost::uuids::nil_generator | nilGenerator |
KIID | niluuid (0) |
static bool | g_createNilUuids = false |
void from_json | ( | const nlohmann::json & | aJson, |
KIID & | aKIID | ||
) |
KIID & NilUuid | ( | ) |
Definition at line 67 of file kiid.cpp.
Referenced by SCH_IO_KICAD_SEXPR_PARSER::parseSchSymbolInstances().
void to_json | ( | nlohmann::json & | aJson, |
const KIID & | aKIID | ||
) |
Definition at line 359 of file kiid.cpp.
References KIID::AsString().
|
static |
Definition at line 63 of file kiid.cpp.
Referenced by KIID::CreateNilUuids(), and KIID::KIID().
|
static |
Definition at line 55 of file kiid.cpp.
Referenced by KIID::KIID().
KIID niluuid(0) | ( | 0 | ) |
Referenced by FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), KIGFX::GL_BITMAP_CACHE::cacheBitmap(), SCH_MARKER::DeserializeFromString(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), PAD_TOOL::EditPad(), FOOTPRINT::FixUuids(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), PCB_BASE_FRAME::FocusOnItems(), formatArc(), formatBezier(), formatCircle(), formatPoly(), formatRect(), RC_ITEM::GetAuxItem2ID(), DRC_ITEM::GetAuxItem2ID(), RC_ITEM::GetAuxItem3ID(), DRC_ITEM::GetAuxItem3ID(), RC_ITEM::GetAuxItemID(), BOARD::GetItem(), RC_ITEM::GetMainItemID(), SCH_MARKER::GetMsgPanelInfo(), PCB_MARKER::GetMsgPanelInfo(), PAD_TOOL::Init(), PAD_TOOL::InPadEditMode(), InvalidMatchesExpected(), FOOTPRINT_EDIT_FRAME::IsCurrentFPFromBoard(), EE_SELECTION_TOOL::Main(), DIALOG_FOOTPRINT_CHECKER::OnSelectItem(), PAD_TOOL::OnUndoRedo(), FOOTPRINT_EDIT_FRAME::OnUpdateSaveFootprintToBoard(), BOARD_EDITOR_CONTROL::PlaceFootprint(), RC_TREE_MODEL::rebuildModel(), PAD_TOOL::Reset(), FOOTPRINT_EDIT_FRAME::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SCH_IO_KICAD_SEXPR::saveTextBox(), and RC_TREE_MODEL::ToUUID().
|
static |
Definition at line 51 of file kiid.cpp.
Referenced by KIID::ConvertTimestampToUuid(), KIID::KIID(), and KIID::SeedGenerator().
|
static |
Definition at line 50 of file kiid.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and KIID::SeedGenerator().
|
static |
Definition at line 44 of file kiid.cpp.
Referenced by KIID::KIID().
|
static |
Definition at line 54 of file kiid.cpp.
Referenced by KIID::KIID().