36 return testClass->
GetName() == className;
55 return wxT(
"<None>" );
99 return !( *
this == aComponent );
A lightweight representation of a component class.
bool operator!=(const COMPONENT_CLASS &aComponent) const
Tests two component classes for inequality based on full class name.
void AddConstituentClass(COMPONENT_CLASS *componentClass)
Adds a constituent component class to an effective component class.
bool ContainsClassName(const wxString &className) const
Determines if this (effective) component class contains a specific constituent class.
std::vector< COMPONENT_CLASS * > m_constituentClasses
The COMPONENT_CLASS objects contributing to this complete component class.
const wxString & GetName() const
Fetches the full name of this component class.
wxString m_name
The full name of the component class.
bool operator==(const COMPONENT_CLASS &aComponent) const
Tests two component classes for equality based on full class name.
const COMPONENT_CLASS * GetConstituentClass(const wxString &className) const
Returns a named constituent class of this component class, or nullptr if not found.
wxString GetHumanReadableName() const
Gets the consolidated name of this component class (which may be an aggregate).
bool IsEmpty() const
Determines if this (effective) component class is empty (i.e. no classes defined)