Summarized type information for a ClassInfoAttribute.
More...
#include <GloClassInfoAttribute.h>
Summarized type information for a ClassInfoAttribute.
- Copyright
- © 2010 Helmut Jakoby
- Author
- Helmut Jakoby
◆ Type() [1/3]
glo::ClassInfoAttribute::Type::Type |
( |
| ) |
|
◆ 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] | eType | The unique supported attribute type. |
[in] | rsInfo | An info like a number for a string length or an expression like dependent etc. can be passed (see also EnDataTypeGroup). |
[in] | rsSubType | If e.g. a reference or set, the referenced type should be passed. |
[in] | ulSubTypeClassID | If, 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] | rT | The data is copied from this object. |
◆ 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!=()
Comparison operator, all attributes are compared.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator=()
Assignment operator.
- Parameters
-
[in] | rT | The data is transferred from this object. |
◆ operator==()
Comparison operator, all attributes are compared.
- Parameters
-
[in] | rT | The 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] | rsSubType | The 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] | ulSubTypeClassID | The SubType class ID. |
◆ setType()
void glo::ClassInfoAttribute::Type::setType |
( |
EnDataType | eType | ) |
|
Sets the unique supported attribute type.
- Parameters
-
[in] | eType | The 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
-
◆ m_eType
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: