KiCad PCB EDA Suite
Loading...
Searching...
No Matches
conn_keys.h File Reference
#include <kiid.h>
#include <wx/string.h>
#include <cstdint>
#include <limits>
#include <map>
#include <optional>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  SCH_CONNECTIVITY::ITEM_KEY
 One item or pin in one sheet instance. More...
 
struct  SCH_CONNECTIVITY::RECORD_KEY
 One island in one sheet instance. More...
 
struct  SCH_CONNECTIVITY::RECORD_NODE
 The graph node of one island record. More...
 
struct  SCH_CONNECTIVITY::NAME_KEY
 The graph node of one name in one scope. More...
 
struct  SCH_CONNECTIVITY::SLOT_KEY
 One member position of a bus. More...
 
class  SCH_CONNECTIVITY::SESSION_KEYS
 Session IDs are dense handles, never a canonical ordering. More...
 
class  SCH_CONNECTIVITY::SESSION_KEYS::INTERN_TABLE< VALUE, MAP >
 
struct  SCH_CONNECTIVITY::SESSION_KEYS::INTERNED_NAME
 
struct  SCH_CONNECTIVITY::SESSION_KEYS::NODE_HASH
 
struct  SCH_CONNECTIVITY::NAME_LESS
 Orders name handles by UTF-8 value. More...
 
struct  SCH_CONNECTIVITY::KEY_LESS
 Orders keys by value through SESSION_KEYS::Less(). More...
 

Namespaces

namespace  SCH_CONNECTIVITY
 Value keys and the key session of the schematic connectivity engine.
 

Typedefs

using SCH_CONNECTIVITY::INST_ID = uint32_t
 Session handle of a sheet instance KIID_PATH.
 
using SCH_CONNECTIVITY::NAME_ID = uint32_t
 Session handle of a name, ordered by UTF-8 value through NAME_LESS.
 
using SCH_CONNECTIVITY::NODE_ID = uint32_t
 Session handle of a NODE_KEY graph node.
 
using SCH_CONNECTIVITY::SCREEN_ID = uint64_t
 Process-local SCH_SCREEN::ConnectivityId(), never a file UUID.
 
using SCH_CONNECTIVITY::NODE_KEY = std::variant<RECORD_NODE, NAME_KEY, SLOT_KEY>
 Any node of the union-find graph.
 

Enumerations

enum class  SCH_CONNECTIVITY::KIND : uint8_t { SCH_CONNECTIVITY::SIGNAL , SCH_CONNECTIVITY::BUNDLE }
 The electrical type of a record or component. More...
 
enum class  SCH_CONNECTIVITY::SCOPE : uint8_t { SCH_CONNECTIVITY::SHEET , SCH_CONNECTIVITY::GLOBAL , SCH_CONNECTIVITY::PORT }
 The namespace in which a NAME_KEY joins records. More...
 

Variables

constexpr uint32_t SCH_CONNECTIVITY::INVALID_ID = std::numeric_limits<uint32_t>::max()
 Marks an unset handle.