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

Public Member Functions

void setA (int a) override
 
int getA () const override
 
void setC (int a)
 
int getC () const
 
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
 

Private Attributes

int m_c = 0
 

Detailed Description

Definition at line 51 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()

int B::getA ( ) const
inlineoverridevirtual

Implements A.

Definition at line 55 of file test_property.cpp.

References A::m_a.

◆ getA2()

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

Definition at line 34 of file test_property.cpp.

References A::m_a.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ getC()

int B::getC ( ) const
inline

Definition at line 58 of file test_property.cpp.

References m_c.

Referenced by CLASS_B_DESC::CLASS_B_DESC().

◆ getPoint()

const wxPoint & A::getPoint ( ) const
inlineinherited

Definition at line 41 of file test_property.cpp.

References A::m_p.

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

◆ getPoint2()

wxPoint A::getPoint2 ( ) const
inlineinherited

Definition at line 42 of file test_property.cpp.

References A::m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

◆ getPoint3()

wxPoint A::getPoint3 ( )
inlineinherited

Definition at line 43 of file test_property.cpp.

References A::m_p.

◆ getPoint4()

const wxPoint & A::getPoint4 ( ) const
inlineinherited

Definition at line 44 of file test_property.cpp.

References A::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()

void B::setA ( int  a)
inlineoverridevirtual

Implements A.

Definition at line 54 of file test_property.cpp.

References A::m_a.

◆ setC()

void B::setC ( int  a)
inline

Definition at line 57 of file test_property.cpp.

References m_c.

Referenced by CLASS_B_DESC::CLASS_B_DESC().

◆ setPoint()

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

Definition at line 36 of file test_property.cpp.

References A::m_p.

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

◆ setPoint2()

void A::setPoint2 ( wxPoint &  p)
inlineinherited

Definition at line 37 of file test_property.cpp.

References A::m_p.

◆ setPoint3()

void A::setPoint3 ( wxPoint  p)
inlineinherited

Definition at line 38 of file test_property.cpp.

References A::m_p.

◆ setPoint4()

void A::setPoint4 ( wxPoint  p)
inlineinherited

Definition at line 39 of file test_property.cpp.

References A::m_p.

Referenced by CLASS_A_DESC::CLASS_A_DESC().

Member Data Documentation

◆ m_a

int A::m_a = 0
protectedinherited

Definition at line 47 of file test_property.cpp.

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

◆ m_c

int B::m_c = 0
private

Definition at line 61 of file test_property.cpp.

Referenced by getC(), and setC().

◆ m_p

wxPoint A::m_p
protectedinherited

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