Safir SDK Core
Loading...
Searching...
No Matches
TypeUtilities.h File Reference
#include <Safir/Dob/Typesystem/ToolSupport/Internal/BasicTypeOperations.h>
Include dependency graph for TypeUtilities.h:
This graph shows which files directly or indirectly include this file:

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

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::ToolSupport
 
namespace  Safir::Dob::Typesystem::ToolSupport::TypeUtilities
 

Functions

DotsC_TypeId Safir::Dob::Typesystem::ToolSupport::TypeUtilities::CalculateTypeId (const std::string &name)
 Calculates a typeId from a string.
 
const char * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetTypeName (DotsC_MemberType memberType)
 Finds corresponding type name to a memberType.
 
template<class RepositoryT >
const char * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetTypeName (const RepositoryT *repository, DotsC_TypeId typeId)
 Finds corresponding type name to a typeId.
 
template<class RepositoryT , class DescriptionT >
const char * Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetTypeName (const RepositoryT *repository, const DescriptionT *member)
 Finds corresponding type name to a member or parameter description.
 
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.
 
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.
 
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.
 
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 classDescription is already retrieved.
 
DotsC_Int64 Safir::Dob::Typesystem::ToolSupport::TypeUtilities::ToUnifiedDictionaryKey (DotsC_Int64 key)
 ToUnifiedDictionaryKey - Convert all keys to an int64 that is the internal key format.
 
DotsC_Int64 Safir::Dob::Typesystem::ToolSupport::TypeUtilities::ToUnifiedDictionaryKey (DotsC_Int32 key)
 
DotsC_Int64 Safir::Dob::Typesystem::ToolSupport::TypeUtilities::ToUnifiedDictionaryKey (const std::string &key)
 
DotsC_Int64 Safir::Dob::Typesystem::ToolSupport::TypeUtilities::ToUnifiedDictionaryKey (const DotsC_EntityId &key)
 
template<class ParameterDescriptionT , class KeyT >
int Safir::Dob::Typesystem::ToolSupport::TypeUtilities::GetDictionaryIndexFromKey (const ParameterDescriptionT *pd, const KeyT &key)