Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Operations.h File Reference
Include dependency graph for Operations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Safir
 Safir.
 
 Safir::Dob
 Dob.
 
 Safir::Dob::Typesystem
 This namespace contains the DOB Typesystem functionality and definitions.
 
 Safir::Dob::Typesystem::Operations
 Operations on DOB types.
 

Functions

Type information operations
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfTypeIds ()
 Get the number of type id's defined in the system. More...
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfClasses ()
 Get the number of classes defined in the system. More...
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfProperties ()
 Get the number of properties defined in the system. More...
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfEnumerations ()
 Get the number of enum types defined in the system. More...
 
DOTS_CPP_API TypeIdVector Safir::Dob::Typesystem::Operations::GetAllTypeIds ()
 Get all type id's that exists in the system. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::Exists (const Dob::Typesystem::TypeId typeId)
 Check if class with specified type id exist. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::IsClass (const Dob::Typesystem::TypeId typeId)
 Check if a type represented by a type id is a class. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::IsProperty (const Dob::Typesystem::TypeId typeId)
 Check if a type represented by a type id is a property. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::IsEnumeration (const Dob::Typesystem::TypeId typeId)
 Check if a type represented by a type id is an enumeration. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::IsException (const Dob::Typesystem::TypeId typeId)
 Check if a type represented by a type id is an exception. More...
 
DOTS_CPP_API
Dob::Typesystem::TypeId 
Safir::Dob::Typesystem::Operations::GetTypeId (const std::wstring &typeName)
 Calculates the type id for the given name. More...
 
DOTS_CPP_API std::wstring Safir::Dob::Typesystem::Operations::GetName (const Dob::Typesystem::TypeId typeId)
 Gets the name associated with the specified type id. More...
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfEnumerationValues (const Dob::Typesystem::TypeId enumId)
 Get the number of enumeration values the specified enumeration type has. More...
 
DOTS_CPP_API std::wstring Safir::Dob::Typesystem::Operations::GetEnumerationValueName (const Dob::Typesystem::TypeId enumId, const Dob::Typesystem::EnumerationValue enumVal)
 Get the string representation of the specified value for a enumeration type. More...
 
DOTS_CPP_API EnumerationValue Safir::Dob::Typesystem::Operations::GetEnumerationValue (const Dob::Typesystem::TypeId enumId, const std::wstring &enumValueName)
 Get integer value associated with the enumeration value for the specified enumeration type. More...
 
DOTS_CPP_API
Dob::Typesystem::TypeId 
Safir::Dob::Typesystem::Operations::GetEnumerationChecksum (const Dob::Typesystem::TypeId enumId)
 Get the Checksum over all enumeration members for an enumeration type. More...
 
Type compatibility
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::IsOfType (const Dob::Typesystem::TypeId type, const Dob::Typesystem::TypeId ofType)
 Checks if type is ofType or a subclass of ofType. More...
 
DOTS_CPP_API TypeIdVector Safir::Dob::Typesystem::Operations::GetClassTree (const Dob::Typesystem::TypeId rootClass)
 Returns a list of all type id's that is of the given type by inheritance. More...
 
DOTS_CPP_API
Dob::Typesystem::TypeId 
Safir::Dob::Typesystem::Operations::GetParentType (const Dob::Typesystem::TypeId type)
 Returns the typeId of the base class to the argument type. More...
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::HasProperty (const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
 Checks if the a class has a property. More...
 
DOTS_CPP_API void Safir::Dob::Typesystem::Operations::HasProperty (const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType, bool &hasProperty, bool &isInherited)
 Checks if the a class has a property and if it is inherited. More...