25 #ifndef __DOTS_TYPE_OPERATIONS_H__ 
   26 #define __DOTS_TYPE_OPERATIONS_H__ 
  190                                                   const std::wstring & enumValueName);
 
DOTS_CPP_API Dob::Typesystem::TypeId GetParentType(const Dob::Typesystem::TypeId type)
Returns the typeId of the base class to the argument type. 
 
DOTS_CPP_API bool IsEnumeration(const Dob::Typesystem::TypeId typeId)
Check if a type represented by a type id is an enumeration. 
 
DOTS_CPP_API Dob::Typesystem::TypeId GetEnumerationChecksum(const Dob::Typesystem::TypeId enumId)
Get the Checksum over all enumeration members for an enumeration type. 
 
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfTypeIds()
Get the number of type id's defined in the system. 
 
DOTS_CPP_API std::wstring GetEnumerationValueName(const Dob::Typesystem::TypeId enumId, const Dob::Typesystem::EnumerationValue enumVal)
Get the string representation of the specified value for a enumeration type. 
 
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfProperties()
Get the number of properties defined in the system. 
 
DOTS_CPP_API bool IsException(const Dob::Typesystem::TypeId typeId)
Check if a type represented by a type id is an exception. 
 
DOTS_CPP_API TypeIdVector GetClassTree(const Dob::Typesystem::TypeId rootClass)
Returns a list of all type id's that is of the given type by inheritance. 
 
DOTS_CPP_API EnumerationValue GetEnumerationValue(const Dob::Typesystem::TypeId enumId, const std::wstring &enumValueName)
Get integer value associated with the enumeration value for the specified enumeration type...
 
DotsC_TypeId TypeId
A unique type identifier. 
Definition: Defs.h:219
 
DOTS_CPP_API bool Exists(const Dob::Typesystem::TypeId typeId)
Check if class with specified type id exist. 
 
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfEnumerations()
Get the number of enum types defined in the system. 
 
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfClasses()
Get the number of classes defined in the system. 
 
DOTS_CPP_API bool HasProperty(const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
Checks if the a class has a property. 
 
DOTS_CPP_API std::wstring GetName(const Dob::Typesystem::TypeId typeId)
Gets the name associated with the specified type id. 
 
DOTS_CPP_API TypeIdVector GetAllTypeIds()
Get all type id's that exists in the system. 
 
DotsC_EnumerationValue EnumerationValue
The ordinal value of an enumeration. 
Definition: Defs.h:271
 
DOTS_CPP_API Dob::Typesystem::Int32 GetNumberOfEnumerationValues(const Dob::Typesystem::TypeId enumId)
Get the number of enumeration values the specified enumeration type has. 
 
DOTS_CPP_API bool IsOfType(const Dob::Typesystem::TypeId type, const Dob::Typesystem::TypeId ofType)
Checks if type is ofType or a subclass of ofType. 
 
DOTS_CPP_API bool IsClass(const Dob::Typesystem::TypeId typeId)
Check if a type represented by a type id is a class. 
 
DOTS_CPP_API Dob::Typesystem::TypeId GetTypeId(const std::wstring &typeName)
Calculates the type id for the given name. 
 
DOTS_CPP_API bool IsProperty(const Dob::Typesystem::TypeId typeId)
Check if a type represented by a type id is a property. 
 
DotsC_Int32 Int32
32 bit integer type. 
Definition: Defs.h:67
 
#define DOTS_CPP_API
Definition: Defs.h:33
 
std::vector< TypeId > TypeIdVector
A vector of TypeIds. 
Definition: Defs.h:222