KiCad PCB EDA Suite
CLASS_A_DESC Struct Reference

Public Member Functions


Detailed Description

Definition at line 120 of file test_property.cpp.

Constructor & Destructor Documentation



Definition at line 122 of file test_property.cpp.

123  {
125  propMgr.AddProperty( new PROPERTY<A, int>( "A", &A::setA, &A::getA ) );
126  propMgr.AddProperty( new PROPERTY<A, int>( "A2", &A::setA, &A::getA2 ) );
127  propMgr.AddProperty( new PROPERTY<A, wxPoint>( "point", &A::setPoint, &A::getPoint ) );
128  propMgr.AddProperty( new PROPERTY<A, wxPoint>( "point2", &A::setPoint, &A::getPoint2 ) );
130  propMgr.AddProperty( new PROPERTY<A, wxPoint>( "point3", &A::setPoint3, &A::getPoint3 ) );
131  propMgr.AddProperty( new PROPERTY<A, wxPoint>( "point4", &A::setPoint4, &A::getPoint4 ) );
132  }
const wxPoint & getPoint() const
virtual int getA() const =0
static PROPERTY_MANAGER & Instance()
Definition: property_mgr.h:61
void setPoint3(wxPoint p)
const wxPoint & getPoint4() const
wxPoint getPoint3()
wxPoint getPoint2() const
void AddProperty(PROPERTY_BASE *aProperty)
Registers a property.
Provides class metadata.
Definition: property_mgr.h:58
virtual void setA(int a)=0
void setPoint4(wxPoint p)
virtual const int & getA2() const
virtual void setPoint(const wxPoint &p)

References PROPERTY_MANAGER::AddProperty(), A::getA(), A::getA2(), A::getPoint(), A::getPoint2(), A::getPoint3(), A::getPoint4(), PROPERTY_MANAGER::Instance(), A::setA(), A::setPoint(), A::setPoint3(), and A::setPoint4().

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