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.
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. |
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. |
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. |
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. |
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.
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.
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.
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfClasses |
( |
| ) |
const |
|
pure virtual |
Get number of class types.
- Returns
- Number of types.
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfEnums |
( |
| ) |
const |
|
pure virtual |
Get number of enumeration types.
- Returns
- Number of types.
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfExceptions |
( |
| ) |
const |
|
pure virtual |
Get number of exception types.
- Returns
- Number of types.
virtual int Safir::Dob::Typesystem::ToolSupport::TypeRepository::GetNumberOfProperties |
( |
| ) |
const |
|
pure virtual |
Get number of property types.
- Returns
- Number of types.
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.