![]() |
Safir SDK Core
|
Description of a class type. More...
#include <Safir/Dob/Typesystem/ToolSupport/TypeRepository.h>
Public Member Functions | |
virtual | ~ClassDescription ()=default |
Destructor. | |
virtual const char * | FileName () const =0 |
Get dou file path as a string. | |
virtual const char * | Summary () const =0 |
Get a summary about this class. | |
virtual DotsC_TypeId | GetTypeId () const =0 |
Get the typeId of this class. | |
virtual const char * | GetName () const =0 |
Get qualified name of the class type. | |
virtual const ClassDescription * | GetBaseClass () const =0 |
Get the base class description of this class. | |
virtual int | GetNumberOfDescendants () const =0 |
Get the number of classes that inherits from this class. | |
virtual const ClassDescription * | GetDescendant (int index) const =0 |
Get descendant class. | |
virtual int | GetNumberOfMembers () const =0 |
Get the total number of members contained by this class including inherited members. | |
virtual int | GetNumberOfOwnMembers () const =0 |
Get the number of members defined by this class. | |
virtual int | GetNumberOfInheritedMembers () const =0 |
Get the number of inherited members. | |
virtual DotsC_MemberIndex | GetMemberIndex (const std::string &memberName) const =0 |
Get index of a named member. | |
virtual const MemberDescription * | GetMember (DotsC_MemberIndex index) const =0 |
Get a member description. | |
virtual int | GetNumberOfParameters () const =0 |
Get the total number of parameters contained by this class including inherited parameters. | |
virtual int | GetNumberOfOwnParameters () const =0 |
Get the number of parameters defined by this class. | |
virtual int | GetNumberOfInheritedParameters () const =0 |
Get the number of inherited parameters. | |
virtual const ParameterDescription * | GetParameter (DotsC_ParameterIndex index) const =0 |
Get parameter description. | |
virtual void | GetPropertyIds (std::set< DotsC_TypeId > &propertyIds) const =0 |
Get a set of all properties in this class. | |
virtual const PropertyMappingDescription * | GetPropertyMapping (DotsC_TypeId propertyTypeId, bool &isInherited) const =0 |
Get property mapping description for a specific property that describes how it is mapped for this class. | |
virtual int | GetNumberOfCreateRoutines () const =0 |
Get the number of create routines in this class. | |
virtual const CreateRoutineDescription * | GetCreateRoutine (int index) const =0 |
Get a create routine description. | |
virtual DotsC_TypeId | GetChecksum () const =0 |
Get checksum of this class. | |
Description of a class type.
|
virtualdefault |
Destructor.
|
pure virtual |
Get dou file path as a string.
|
pure virtual |
Get the base class description of this class.
|
pure virtual |
Get checksum of this class.
|
pure virtual |
Get a create routine description.
index | [in] - Index of the requested create routine. Valid values are 0 to GetNumberOfCreateRoutines()-1 |
|
pure virtual |
Get descendant class.
index | [in] - Index of descendant class. Valid range is 0 to GetNumberOfDescendants()-1. |
|
pure virtual |
Get a member description.
index | [in] - Index of the requested member. Valid values are 0 to GetNumberOfMembers()-1 |
|
pure virtual |
Get index of a named member.
memberName | [in] - Name of the member. |
|
pure virtual |
Get qualified name of the class type.
|
pure virtual |
Get the number of create routines in this class.
|
pure virtual |
Get the number of classes that inherits from this class.
|
pure virtual |
Get the number of inherited members.
Members defined by this class itself are not included.
|
pure virtual |
Get the number of inherited parameters.
Parameters defined by this class itself are not included.
|
pure virtual |
Get the total number of members contained by this class including inherited members.
|
pure virtual |
Get the number of members defined by this class.
Inherited members are not included.
|
pure virtual |
Get the number of parameters defined by this class.
Inherited parameters are not included.
|
pure virtual |
Get the total number of parameters contained by this class including inherited parameters.
|
pure virtual |
Get parameter description.
index | [in] - Index of the requested parameter. Valid values are 0 to GetNumberOfParameters()-1 |
|
pure virtual |
Get a set of all properties in this class.
propertyIds | [out] - Set of typeIds |
|
pure virtual |
Get property mapping description for a specific property that describes how it is mapped for this class.
propertyTypeId | [in] - TypeId of the property. |
isInherited | [out] - Boolean value indicating if the property is inherited or not. |
|
pure virtual |
Get the typeId of this class.
|
pure virtual |
Get a summary about this class.