KiCad PCB EDA Suite
Loading...
Searching...
No Matches
A Struct Reference
Inheritance diagram for A:
INSPECTABLE

Public Member Functions

 A ()
 
 ~A ()
 
 A (const A &a)
 
virtual std::vector< PROPERTY_BASE * > GetDynamicProperties () const
 Return dynamically-computed properties specific to this object instance (e.g.
 
bool Set (PROPERTY_BASE *aProperty, wxAny &aValue, bool aNotify=true)
 
template<typename T>
bool Set (PROPERTY_BASE *aProperty, T aValue, bool aNotify=true)
 
bool Set (PROPERTY_BASE *aProperty, wxVariant aValue, bool aNotify=true)
 
template<typename T>
bool Set (const wxString &aProperty, T aValue, bool aNotify=true)
 
wxAny Get (PROPERTY_BASE *aProperty) const
 
template<typename T>
T Get (PROPERTY_BASE *aProperty) const
 
template<typename T>
std::optional< T > Get (const wxString &aProperty) const
 

Detailed Description

Definition at line 593 of file test_ki_any.cpp.

Constructor & Destructor Documentation

◆ A() [1/2]

A::A ( )
inline

Definition at line 594 of file test_ki_any.cpp.

References live_objects.

Referenced by A().

◆ ~A()

A::~A ( )
inline

Definition at line 595 of file test_ki_any.cpp.

References live_objects.

◆ A() [2/2]

A::A ( const A & a)
inline

Definition at line 596 of file test_ki_any.cpp.

References A(), and live_objects.

Member Function Documentation

◆ Get() [1/3]

template<typename T>
std::optional< T > INSPECTABLE::Get ( const wxString & aProperty) const
inherited

◆ Get() [2/3]

◆ Get() [3/3]

template<typename T>
T INSPECTABLE::Get ( PROPERTY_BASE * aProperty) const
inherited

◆ GetDynamicProperties()

virtual std::vector< PROPERTY_BASE * > INSPECTABLE::GetDynamicProperties ( ) const
inlinevirtualinherited

Return dynamically-computed properties specific to this object instance (e.g.

custom fields, pin-map entries). These are NOT registered in PROPERTY_MANAGER and do NOT appear in GetProperties(TYPE_ID).

The returned PROPERTY_BASE* pointers are owned by the object and remain valid until the object is destroyed or its property set changes.

Reimplemented in EDA_ITEM, FOOTPRINT, SCH_SHEET, and SCH_SYMBOL.

Definition at line 53 of file inspectable.h.

Referenced by KICAD_DIFF::DiffItemProperties(), PROPERTY_MANAGER::GetProperties(), and PROPERTY_MANAGER::GetProperty().

◆ Set() [1/4]

template<typename T>
bool INSPECTABLE::Set ( const wxString & aProperty,
T aValue,
bool aNotify = true )
inherited

◆ Set() [2/4]

template<typename T>
bool INSPECTABLE::Set ( PROPERTY_BASE * aProperty,
T aValue,
bool aNotify = true )
inherited

◆ Set() [3/4]

◆ Set() [4/4]


The documentation for this struct was generated from the following file: