KiCad PCB EDA Suite
|
#include <kicommon.h>
#include <boost/uuid/uuid.hpp>
#include <macros_swig.h>
#include <nlohmann/json_fwd.hpp>
#include <string>
Go to the source code of this file.
Classes | |
class | KIID |
class | KIID_PATH |
class | KIID_NIL_SET_RESET |
RAII class to safely set/reset nil KIIDs for use in footprint/symbol loading. More... | |
struct | std |
Typedefs | |
typedef uint32_t | timestamp_t |
timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the timestamp when they were created. | |
Functions | |
KICOMMON_API KIID & | NilUuid () |
KICOMMON_API void | to_json (nlohmann::json &aJson, const KIID &aKIID) |
KICOMMON_API void | from_json (const nlohmann::json &aJson, KIID &aKIID) |
Variables | |
KICOMMON_API KIID | niluuid |
typedef uint32_t timestamp_t |
timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the timestamp when they were created.
Long term, this type might be renamed to something like unique_id_t (and then rename all the methods from {Get,Set}TimeStamp() to {Get,Set}Id()) ?
KICOMMON_API void from_json | ( | const nlohmann::json & | aJson, |
KIID & | aKIID | ||
) |
KICOMMON_API KIID & NilUuid | ( | ) |
Definition at line 67 of file kiid.cpp.
Referenced by SCH_IO_KICAD_SEXPR_PARSER::parseSchSymbolInstances().
KICOMMON_API void to_json | ( | nlohmann::json & | aJson, |
const KIID & | aKIID | ||
) |
Definition at line 359 of file kiid.cpp.
References KIID::AsString().
|
extern |
Referenced by KIID::SniffTest().