Safir SDK Core
Loading...
Searching...
No Matches
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

namespace  Safir
 This namespace contains all the functionality and definitions of the SAFIR SDK.
 
namespace  Safir::Dob
 This namespace contains all functionality of the DOB (Components DOSE and DOTS).
 
namespace  Safir::Dob::Typesystem
 This namespace contains the DOB Typesystem functionality and definitions.
 
namespace  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.
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfClasses ()
 Get the number of classes defined in the system.
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfProperties ()
 Get the number of properties defined in the system.
 
DOTS_CPP_API Dob::Typesystem::Int32 Safir::Dob::Typesystem::Operations::GetNumberOfEnumerations ()
 Get the number of enum types defined in the system.
 
DOTS_CPP_API TypeIdVector Safir::Dob::Typesystem::Operations::GetAllTypeIds ()
 Get all type id's that exists in the system.
 
DOTS_CPP_API bool Safir::Dob::Typesystem::Operations::Exists (const Dob::Typesystem::TypeId typeId)
 Check if class with specified type id exist.
 
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.
 
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.
 
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.
 
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.
 
DOTS_CPP_API Dob::Typesystem::TypeId Safir::Dob::Typesystem::Operations::GetTypeId (const std::wstring &typeName)
 Calculates the type id for the given name.
 
DOTS_CPP_API std::wstring Safir::Dob::Typesystem::Operations::GetName (const Dob::Typesystem::TypeId typeId)
 Gets the name associated with the specified type id.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.