KiCad PCB EDA Suite
Loading...
Searching...
No Matches
A Class Referenceabstract
Inheritance diagram for A:
INSPECTABLE B D E

Public Member Functions

virtual void setA (int a)=0
 
virtual int getA () const =0
 
virtual const int & getA2 () const
 
virtual void setPoint (const wxPoint &p)
 
void setPoint2 (wxPoint &p)
 
void setPoint3 (wxPoint p)
 
void setPoint4 (wxPoint p)
 
const wxPoint & getPoint () const
 
wxPoint getPoint2 () const
 
wxPoint getPoint3 ()
 
const wxPoint & getPoint4 () const
 
bool Set (PROPERTY_BASE *aProperty, wxAny &aValue, bool aNotify=true)
 
template<typename T >
bool Set (PROPERTY_BASE *aProperty, T 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 >
Get (PROPERTY_BASE *aProperty) const
 
template<typename T >
std::optional< T > Get (const wxString &aProperty) const
 

Protected Attributes

int m_a = 0
 
wxPoint m_p
 

Detailed Description

Definition at line 29 of file test_property.cpp.

Member Function Documentation

◆ Get() [1/3]

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

◆ Get() [2/3]

◆ Get() [3/3]

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

◆ getA()

virtual int A::getA ( ) const
pure virtual

Implemented in B, and D.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ getA2()

virtual const int & A::getA2 ( ) const
inlinevirtual

Definition at line 34 of file test_property.cpp.

References m_a.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ getPoint()

const wxPoint & A::getPoint ( ) const
inline

Definition at line 41 of file test_property.cpp.

References m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC(), and CLASS_D_DESC::CLASS_D_DESC().

◆ getPoint2()

wxPoint A::getPoint2 ( ) const
inline

Definition at line 42 of file test_property.cpp.

References m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ getPoint3()

wxPoint A::getPoint3 ( )
inline

Definition at line 43 of file test_property.cpp.

References m_p.

◆ getPoint4()

const wxPoint & A::getPoint4 ( ) const
inline

Definition at line 44 of file test_property.cpp.

References m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ Set() [1/3]

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

◆ Set() [2/3]

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

◆ Set() [3/3]

bool INSPECTABLE::Set ( PROPERTY_BASE aProperty,
wxAny &  aValue,
bool  aNotify = true 
)
inlineinherited

◆ setA()

virtual void A::setA ( int  a)
pure virtual

Implemented in B, and D.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ setPoint()

virtual void A::setPoint ( const wxPoint &  p)
inlinevirtual

Definition at line 36 of file test_property.cpp.

References m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC(), and CLASS_D_DESC::CLASS_D_DESC().

◆ setPoint2()

void A::setPoint2 ( wxPoint &  p)
inline

Definition at line 37 of file test_property.cpp.

References m_p.

◆ setPoint3()

void A::setPoint3 ( wxPoint  p)
inline

Definition at line 38 of file test_property.cpp.

References m_p.

◆ setPoint4()

void A::setPoint4 ( wxPoint  p)
inline

Definition at line 39 of file test_property.cpp.

References m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

Member Data Documentation

◆ m_a

int A::m_a = 0
protected

Definition at line 47 of file test_property.cpp.

Referenced by B::getA(), getA2(), and B::setA().

◆ m_p

wxPoint A::m_p
protected

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