MeVisLab Toolbox Reference
ml::omIDTypeT< T > Class Template Reference

#include <mlObjMgrObjectID.h>

Inheritance diagram for ml::omIDTypeT< T >:

Public Member Functions

 omIDTypeT ()
 Standard constructor. More...
 
 omIDTypeT (MLint32 id)
 Constructor from integer argument. More...
 
 omIDTypeT (const char *id)
 Constructor from char * argument. More...
 
 omIDTypeT (const std::basic_string< T > &id)
 Constructor from std::string argument. More...
 
omIDTypeToperator= (const std::basic_string< T > &id)
 Assignment operator for std::basic_string. More...
 
 operator const std::basic_string< T > & () const
 std::string cast operator More...
 
MLint32 getInt () const
 Returns numerical value of object Id if possible. More...
 
bool isDefault () const
 Check for default value. More...
 

Detailed Description

template<typename T>
class ml::omIDTypeT< T >

Definition at line 28 of file mlObjMgrObjectID.h.

Constructor & Destructor Documentation

◆ omIDTypeT() [1/4]

template<typename T >
ml::omIDTypeT< T >::omIDTypeT ( )
inline

Standard constructor.

Definition at line 35 of file mlObjMgrObjectID.h.

◆ omIDTypeT() [2/4]

template<typename T >
ml::omIDTypeT< T >::omIDTypeT ( MLint32  id)
inline

Constructor from integer argument.

Definition at line 38 of file mlObjMgrObjectID.h.

References ML_BAD_DATA_TYPE, and ml::printTemplateError().

◆ omIDTypeT() [3/4]

template<typename T >
ml::omIDTypeT< T >::omIDTypeT ( const char *  id)
inline

Constructor from char * argument.

Definition at line 51 of file mlObjMgrObjectID.h.

◆ omIDTypeT() [4/4]

template<typename T >
ml::omIDTypeT< T >::omIDTypeT ( const std::basic_string< T > &  id)
inline

Constructor from std::string argument.

Definition at line 54 of file mlObjMgrObjectID.h.

Member Function Documentation

◆ getInt()

template<typename T >
MLint32 ml::omIDTypeT< T >::getInt ( ) const
inline

Returns numerical value of object Id if possible.

Definition at line 69 of file mlObjMgrObjectID.h.

References ML_BAD_DATA_TYPE, and ml::printTemplateError().

◆ isDefault()

template<typename T >
bool ml::omIDTypeT< T >::isDefault ( ) const
inline

Check for default value.

Definition at line 81 of file mlObjMgrObjectID.h.

◆ operator const std::basic_string< T > &()

template<typename T >
ml::omIDTypeT< T >::operator const std::basic_string< T > & ( ) const
inline

std::string cast operator

Definition at line 64 of file mlObjMgrObjectID.h.

◆ operator=()

template<typename T >
omIDTypeT& ml::omIDTypeT< T >::operator= ( const std::basic_string< T > &  id)
inline

Assignment operator for std::basic_string.

Definition at line 57 of file mlObjMgrObjectID.h.


The documentation for this class was generated from the following file: