The TypeRepository class is the baseclass of any TypeRepository implementation.
More...
#include <Safir/Dob/Typesystem/ToolSupport/TypeRepository.h>
The TypeRepository class is the baseclass of any TypeRepository implementation.
◆ ~TypeRepository()
virtual Safir::Dob::Typesystem::ToolSupport::TypeRepository::~TypeRepository |
( |
| ) |
|
|
virtualdefault |
◆ GetAllClassTypeIds()
virtual void Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetAllClassTypeIds |
( |
std::set< DotsC_TypeId > & | typeIds | ) |
const |
|
pure virtual |
Get a set of all typeIds that represent class types.
- Parameters
-
typeIds | [out] - Set of typeIds. |
◆ GetAllEnumTypeIds()
virtual void Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetAllEnumTypeIds |
( |
std::set< DotsC_TypeId > & | typeIds | ) |
const |
|
pure virtual |
Get a set of all typeIds that represent enumeration types.
- Parameters
-
typeIds | [out] - Set of typeIds. |
◆ GetAllExceptionTypeIds()
virtual void Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetAllExceptionTypeIds |
( |
std::set< DotsC_TypeId > & | typeIds | ) |
const |
|
pure virtual |
Get a set of all typeIds that represent exception types.
- Parameters
-
typeIds | [out] - Set of typeIds. |
◆ GetAllPropertyTypeIds()
virtual void Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetAllPropertyTypeIds |
( |
std::set< DotsC_TypeId > & | typeIds | ) |
const |
|
pure virtual |
Get a set of all typeIds that represent property types.
- Parameters
-
typeIds | [out] - Set of typeIds. |
◆ GetClass()
virtual const ClassDescription * Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetClass |
( |
DotsC_TypeId | typeId | ) |
const |
|
pure virtual |
Get class description by typeId.
- Parameters
-
typeId | [in] - TypeId of the class. |
- Returns
- ClassDescription or NULL if typeId does not exist or is a class type.
◆ GetEnum()
virtual const EnumDescription * Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetEnum |
( |
DotsC_TypeId | typeId | ) |
const |
|
pure virtual |
Get enumeration description by typeId.
- Parameters
-
typeId | [in] - TypeId of the enumeration |
- Returns
- EnumDescription or NULL if typeId does not exist or is an enum type.
◆ GetException()
virtual const ExceptionDescription * Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetException |
( |
DotsC_TypeId | typeId | ) |
const |
|
pure virtual |
Get exception description by typeId.
- Parameters
-
typeId | [in] - TypeId of the class. |
- Returns
- ExceptionDescription or NULL if typeId does not exist or is a class type.
◆ GetNumberOfClasses()
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfClasses |
( |
| ) |
const |
|
pure virtual |
Get number of class types.
- Returns
- Number of types.
◆ GetNumberOfEnums()
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfEnums |
( |
| ) |
const |
|
pure virtual |
Get number of enumeration types.
- Returns
- Number of types.
◆ GetNumberOfExceptions()
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfExceptions |
( |
| ) |
const |
|
pure virtual |
Get number of exception types.
- Returns
- Number of types.
◆ GetNumberOfProperties()
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfProperties |
( |
| ) |
const |
|
pure virtual |
Get number of property types.
- Returns
- Number of types.
◆ GetProperty()
virtual const PropertyDescription * Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetProperty |
( |
DotsC_TypeId | typeId | ) |
const |
|
pure virtual |
Get property description by typeId.
- Parameters
-
typeId | [in] - TypeId of the property. |
- Returns
- PropertyDescription or NULL if typeId does not exist or is a property type.