| 
    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 <json_common.h>#include <cctype>#include <mutex>#include <utility>#include <stdlib.h>#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 69 of file kiid.cpp.
Referenced by SCH_IO_KICAD_SEXPR_PARSER::parseSchSymbolInstances().
| void to_json | ( | nlohmann::json & | aJson, | 
| const KIID & | aKIID ) | 
Definition at line 367 of file kiid.cpp.
References KIID::AsString().
      
  | 
  static | 
Definition at line 65 of file kiid.cpp.
Referenced by KIID::CreateNilUuids(), and KIID::KIID().
      
  | 
  static | 
Definition at line 57 of file kiid.cpp.
Referenced by KIID::KIID(), and KIID::KIID().
| KIID niluuid(0) | ( | 0 | ) | 
Referenced by FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), SCHEMATIC::AddTopLevelSheet(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), SCH_SHEET_LIST::BuildSheetList(), SCHEMATIC::BuildSheetListSortedByPageNumbers(), KIGFX::GL_BITMAP_CACHE::cacheBitmap(), SCHEMATIC::CreateDefaultScreens(), SCH_MARKER::DeserializeFromString(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), PAD_TOOL::EditPad(), FOOTPRINT::FixUuids(), SCH_EDIT_FRAME::FocusOnItem(), SYMBOL_EDIT_FRAME::FocusOnItem(), formatArc(), formatBezier(), formatCircle(), formatPoly(), formatRect(), DRC_ITEM::GetAuxItem2ID(), RC_ITEM::GetAuxItem2ID(), DRC_ITEM::GetAuxItem3ID(), RC_ITEM::GetAuxItem3ID(), RC_ITEM::GetAuxItemID(), RC_ITEM::GetMainItemID(), SCH_MARKER::GetMsgPanelInfo(), EDA_ITEM::GetParentGroupId(), PAD_TOOL::Init(), PAD_TOOL::InPadEditMode(), InvalidMatchesExpected(), FOOTPRINT_EDIT_FRAME::IsCurrentFPFromBoard(), SCH_SHEET::IsVirtualRootSheet(), PROJECT_FILE::LoadFromFile(), SCH_IO_EAGLE::LoadSchematicFile(), SCH_SELECTION_TOOL::Main(), DIALOG_FOOTPRINT_CHECKER::OnSelectItem(), PAD_TOOL::OnUndoRedo(), SCH_EDIT_FRAME::OpenProjectFiles(), PAD_TOOL::PAD_TOOL(), SCH_SHEET_PATH::Path(), BOARD_EDITOR_CONTROL::PlaceFootprint(), RC_TREE_MODEL::rebuildModel(), PAD_TOOL::Reset(), BOARD::ResolveDRCExclusions(), BOARD::ResolveItem(), FOOTPRINT_EDIT_FRAME::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SCH_IO_KICAD_SEXPR::saveSymbol(), RC_ITEM::SetItems(), SCHEMATIC::SetRoot(), SCHEMATIC::SetSheetNumberAndCount(), FOOTPRINT_EDIT_FRAME::setupUIConditions(), and RC_TREE_MODEL::ToUUID().
      
  | 
  static | 
Definition at line 53 of file kiid.cpp.
Referenced by KIID::ConvertTimestampToUuid(), KIID::KIID(), and KIID::SeedGenerator().
      
  | 
  static | 
Definition at line 52 of file kiid.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and KIID::SeedGenerator().
      
  | 
  static | 
Definition at line 46 of file kiid.cpp.
Referenced by KIID::KIID().