KiCad PCB EDA Suite
CLASS_C_DESC Struct Reference

Public Member Functions

 CLASS_C_DESC ()
 

Detailed Description

Definition at line 145 of file test_property.cpp.

Constructor & Destructor Documentation

◆ CLASS_C_DESC()

CLASS_C_DESC::CLASS_C_DESC ( )
inline

Definition at line 147 of file test_property.cpp.

148  {
150  propMgr.AddProperty( new PROPERTY<C, bool>( "bool", &C::setBool, &C::getBool ) );
151  propMgr.AddProperty( new PROPERTY<C, int>( "new", &C::setNew, &C::getNew ) );
152  }
static PROPERTY_MANAGER & Instance()
Definition: property_mgr.h:61
bool getBool() const
void setBool(bool a)
int getNew() const
void AddProperty(PROPERTY_BASE *aProperty)
Registers a property.
Provides class metadata.
Definition: property_mgr.h:58
void setNew(int m)

References PROPERTY_MANAGER::AddProperty(), C::getBool(), C::getNew(), PROPERTY_MANAGER::Instance(), C::setBool(), and C::setNew().


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