KiCad PCB EDA Suite
property_mgr.h File Reference
#include <wx/string.h>
#include <map>
#include <unordered_map>
#include <set>
#include <vector>
#include <memory>
#include <common.h>

Go to the source code of this file.

Classes

class  PROPERTY_MANAGER
 Provides class metadata. More...
 
struct  PROPERTY_MANAGER::CLASS_INFO
 
struct  PROPERTY_MANAGER::CLASS_DESC
 

Structure holding type meta-data

More...
 

Macros

#define REGISTER_TYPE(x)   PROPERTY_MANAGER::Instance().RegisterType(TYPE_HASH(x), TYPE_NAME(x))
 

Helper macro to map type hashes to names

More...
 

Typedefs

using TYPE_ID = size_t
 

Unique type identifier

More...
 
using PROPERTY_LIST = std::vector< PROPERTY_BASE * >
 
using PROPERTY_SET = std::set< std::pair< size_t, wxString > >
 

Macro Definition Documentation

◆ REGISTER_TYPE

#define REGISTER_TYPE (   x)    PROPERTY_MANAGER::Instance().RegisterType(TYPE_HASH(x), TYPE_NAME(x))

Helper macro to map type hashes to names

Definition at line 244 of file property_mgr.h.

Typedef Documentation

◆ PROPERTY_LIST

using PROPERTY_LIST = std::vector<PROPERTY_BASE*>

Definition at line 40 of file property_mgr.h.

◆ PROPERTY_SET

using PROPERTY_SET = std::set<std::pair<size_t, wxString> >

Definition at line 42 of file property_mgr.h.

◆ TYPE_ID

using TYPE_ID = size_t

Unique type identifier

Definition at line 38 of file property_mgr.h.