Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TypeUtilities.h File Reference
#include <Safir/Dob/Typesystem/ToolSupport/Internal/BasicTypeOperations.h>
Include dependency graph for TypeUtilities.h:

Go to the source code of this file.

Classes

struct  Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetParameterByFullName< RepT, Traits >
 Helper class to get ParameterDescription from a fully qualified name without having the ClassDescription. More...
 

Namespaces

 Safir
 Safir.
 
 Safir::Dob
 Dob.
 
 Safir::Dob::Typesystem
 This namespace contains the DOB Typesystem functionality and definitions.
 
 Safir::Dob::Typesystem::ToolSupport
 
 Safir::Dob::Typesystem::ToolSupport::TypeUtilities
 

Functions

template<class RepositoryT >
const char * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetTypeName (const RepositoryT *repository, DotsC_TypeId typeId)
 Finds corresponding type name to a typeId. More...
 
DotsC_TypeId Safir::Dob::Typesystem::ToolSupport::TypeUtilities::CalculateTypeId (const std::string &name)
 
const char * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetTypeName (DotsC_MemberType memberType)
 Finds corresponding type name to a memberType. More...
 
template<class RepositoryT >
bool Safir::Dob::Typesystem::ToolSupport::TypeUtilities::IsOfType (const RepositoryT *repository, DotsC_TypeId tid, DotsC_TypeId ofTid)
 Check if a type is the same or a subtype of another type. More...
 
template<class EnumDescriptionT >
int Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetIndexOfEnumValue (const EnumDescriptionT *description, const std::string &valueName)
 Get the index (ordinal) of an enumeration value. More...
 
template<class PropertyDescriptionT , class MemberDescriptionT >
DotsC_MemberIndex Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetPropertyMemberIndex (const PropertyDescriptionT *pd, const std::string &memberName)
 Get index of a property member. More...
 
template<class ClassDescriptionT , class ParameterDescriptionT >
const ParameterDescriptionT * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetParameterByName (const ClassDescriptionT *cd, const std::string &paramName)
 Get parameter by name when the classDesription is already retrieved. More...