GlobalObjects
Loading...
Searching...
No Matches
glo::ClassInfoAttribute::Type Class Reference

Summarized type information for a ClassInfoAttribute. More...

#include <GloClassInfoAttribute.h>

Public Member Functions

 Type ()
 
 Type (const Type &rT)
 
 Type (EnDataType eType, const std::string &rsInfo, const std::string &rsSubType, unsigned long ulSubTypeClassID)
 
std::string getSubType () const
 
unsigned long getSubTypeClassID () const
 
EnDataType getType () const
 
std::string getTypeInfo () const
 
ClassInfoAttribute::Typeoperator= (const ClassInfoAttribute::Type &rT)
 
void setSubType (const std::string &rsSubType)
 
void setSubTypeClassID (unsigned long ulSubTypeClassID)
 
void setType (EnDataType eType)
 
void setTypeInfo (const std::string &rsInfo)
 
bool operator== (const ClassInfoAttribute::Type &rT) const
 Comparison operator, all attributes are compared.
 
bool operator!= (const ClassInfoAttribute::Type &rT) const
 Comparison operator, all attributes are compared.
 

Private Attributes

EnDataType m_eType
 
std::string m_sInfo
 
std::string m_sSubType
 
unsigned long m_ulSubTypeClassID
 

Detailed Description

Summarized type information for a ClassInfoAttribute.

Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ Type() [1/3]

glo::ClassInfoAttribute::Type::Type ( )

Standard constructor.

◆ Type() [2/3]

glo::ClassInfoAttribute::Type::Type ( EnDataType eType,
const std::string & rsInfo,
const std::string & rsSubType,
unsigned long ulSubTypeClassID )

Constructor with parameter passing.

Parameters
[in]eTypeThe unique supported attribute type.
[in]rsInfoAn info like a number for a string length or an expression like dependent etc. can be passed (see also EnDataTypeGroup).
[in]rsSubTypeIf e.g. a reference or set, the referenced type should be passed.
[in]ulSubTypeClassIDIf, for example, a reference or set, the ClassID of the referenced type should be passed.

◆ Type() [3/3]

glo::ClassInfoAttribute::Type::Type ( const Type & rT)

Copy constructor.

Parameters
[in]rTThe data is copied from this object.

Member Function Documentation

◆ getSubType()

std::string glo::ClassInfoAttribute::Type::getSubType ( ) const

Returned a possible subtype. For example, if the attribute is a reference or set, this is the referenced type.

Returns
The SubType.

◆ getSubTypeClassID()

unsigned long glo::ClassInfoAttribute::Type::getSubTypeClassID ( ) const

Returned a possible subtype class ID. For example, if the attribute is a reference or set, then this is the ClassID of the referenced type.

Returns
The SubType class ID.

◆ getType()

EnDataType glo::ClassInfoAttribute::Type::getType ( ) const

Returned the unique supported attribute type.

Returns
The attribute type.

◆ getTypeInfo()

std::string glo::ClassInfoAttribute::Type::getTypeInfo ( ) const

Returned the info like a number for a string length or an expression like dependent etc. (see also EnDataTypeGroup).

Returns
The info.

◆ operator!=()

bool glo::ClassInfoAttribute::Type::operator!= ( const ClassInfoAttribute::Type & rT) const

Comparison operator, all attributes are compared.

Parameters
[in]rTThe object to be compared with this one.

◆ operator=()

ClassInfoAttribute::Type & glo::ClassInfoAttribute::Type::operator= ( const ClassInfoAttribute::Type & rT)

Assignment operator.

Parameters
[in]rTThe data is transferred from this object.

◆ operator==()

bool glo::ClassInfoAttribute::Type::operator== ( const ClassInfoAttribute::Type & rT) const

Comparison operator, all attributes are compared.

Parameters
[in]rTThe object to be compared with this one.

◆ setSubType()

void glo::ClassInfoAttribute::Type::setSubType ( const std::string & rsSubType)

Sets a possible subtype. For example, if the attribute is a reference or set, this is the referenced type.

Parameters
[in]rsSubTypeThe SubType.

◆ setSubTypeClassID()

void glo::ClassInfoAttribute::Type::setSubTypeClassID ( unsigned long ulSubTypeClassID)

Sets a possible subtype class ID. For example, if the attribute is a reference or set, then this is the ClassID of the referenced type.

Parameters
[in]ulSubTypeClassIDThe SubType class ID.

◆ setType()

void glo::ClassInfoAttribute::Type::setType ( EnDataType eType)

Sets the unique supported attribute type.

Parameters
[in]eTypeThe attribute type.

◆ setTypeInfo()

void glo::ClassInfoAttribute::Type::setTypeInfo ( const std::string & rsInfo)

Sets the info like a number for a string length or an expression like dependent etc. (see also EnDataTypeGroup).

Parameters
[in]rsInfoThe info.

Member Data Documentation

◆ m_eType

EnDataType glo::ClassInfoAttribute::Type::m_eType
private

The unique supported attribute type.

◆ m_sInfo

std::string glo::ClassInfoAttribute::Type::m_sInfo
private

An info like a number for a string length or an expression like dependent etc. (see also EnDataTypeGroup).

◆ m_sSubType

std::string glo::ClassInfoAttribute::Type::m_sSubType
private

For example, if the attribute is a reference or set, then the referenced type is in here.

◆ m_ulSubTypeClassID

unsigned long glo::ClassInfoAttribute::Type::m_ulSubTypeClassID
private

For example, if the attribute is a reference or set, then the ClassID of the referenced type is in here.


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