Base class of a ClassInfoAttribute and a ClassInfoIndex.
More...
#include <GloClassInfoItem.h>
Base class of a ClassInfoAttribute and a ClassInfoIndex.
To build and search objects from tables, we need attribute and index information.
- Copyright
- © 2010 Helmut Jakoby
- Author
- Helmut Jakoby
◆ ClassInfoItem() [1/3]
glo::ClassInfoItem::ClassInfoItem |
( |
| ) |
|
◆ ClassInfoItem() [2/3]
glo::ClassInfoItem::ClassInfoItem |
( |
const std::string & | rsName | ) |
|
Constructor with parameter passing.
- Parameters
-
[in] | rsName | An attribute or index name is expected. |
◆ ClassInfoItem() [3/3]
Copy constructor.
- Parameters
-
[in] | rT | The data is copied from this object. |
- Note
- The pointer m_pParent to the owning class information is not transferred.
◆ ~ClassInfoItem()
virtual glo::ClassInfoItem::~ClassInfoItem |
( |
| ) |
|
|
virtual |
◆ getClassID()
unsigned long glo::ClassInfoItem::getClassID |
( |
| ) |
const |
Returns the class ID from the 'owning' class information.
- Returns
- The class ID.
◆ getClassName()
std::string glo::ClassInfoItem::getClassName |
( |
| ) |
const |
Returns the class name from the 'owning' class information.
- Returns
- The class name.
◆ getDeveloperDescription()
std::string glo::ClassInfoItem::getDeveloperDescription |
( |
| ) |
const |
- Returns
- The developer description.
◆ getName()
std::string glo::ClassInfoItem::getName |
( |
| ) |
const |
Returns the name of the derived attribute or derived index.
- Returns
- The name.
◆ getParent()
ClassInfo * glo::ClassInfoItem::getParent |
( |
| ) |
|
- Returns
- The owning class information.
◆ operator!=()
bool glo::ClassInfoItem::operator!= |
( |
const ClassInfoItem & | rT | ) |
const |
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. |
- Note
- The pointer m_pParent to the owning class information is not transferred.
◆ operator==()
bool glo::ClassInfoItem::operator== |
( |
const ClassInfoItem & | rT | ) |
const |
Comparison operator, all attributes are compared.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ setDeveloperDescription()
void glo::ClassInfoItem::setDeveloperDescription |
( |
const std::string & | rsDeveloperDescription | ) |
|
Sets the developer description.
- Parameters
-
[in] | rsDeveloperDescription | The developer description. |
◆ setMyClassInfo()
void glo::ClassInfoItem::setMyClassInfo |
( |
ClassInfo * | pMyClassInfo | ) |
|
Sets m_pParent.
- Parameters
-
[in] | pMyClassInfo | The owning class information. |
- Attention
- No copy is made of pMyClassInfo; therefore the passed ClassInfo must not be removed from memory before an object of this class.
◆ setName()
void glo::ClassInfoItem::setName |
( |
const std::string & | rsName | ) |
|
Sets the name of the derived attribute or derived index.
- Parameters
-
◆ m_pParent
The owning class information.
- Note
- The pointer to the owning class information is not transferred when copying (copy constructor) and assigning ('=' operator).
◆ m_sClassInfoName
std::string glo::ClassInfoItem::m_sClassInfoName |
|
private |
The class name from the 'owner' class information.
◆ m_sDeveloperDescription
std::string glo::ClassInfoItem::m_sDeveloperDescription |
|
private |
A description for the developer. Is only set and evaluated by the schema interface if it is in developer mode.
- Attention
- Is NOT streamed into or taken from a blob.
◆ m_sName
std::string glo::ClassInfoItem::m_sName |
|
private |
The name of the derived attribute respectively index.
◆ m_ulClassInfoClassID
unsigned long glo::ClassInfoItem::m_ulClassInfoClassID |
|
private |
The class ID from the 'owner' class information.
The documentation for this class was generated from the following file: