Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

AttributeInfo Struct Reference

Information about one attribute of a class. More...

#include <ClassHierarchy.h>

Collaboration diagram for AttributeInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AttributeInfo ()

Public Attributes

IopcDataType type
CStdString additionalInfo
CStdString columnName
CStdString columnType
bool persistent
int groupNo
CStdString tmpDeclaredIn
FullClassInfodeclaredIn

Detailed Description

Information about one attribute of a class.

Note:
Inherited attributes doesn't have type, columnName and columnType set.

Name of the attribute is used as a key in AttributeContainer.


Constructor & Destructor Documentation

AttributeInfo::AttributeInfo  )  [inline]
 

Simple constructor.


Member Data Documentation

IopcDataType AttributeInfo::type
 

C++ type of the attribute.

CStdString AttributeInfo::additionalInfo
 

If type is IOPC_COMPLEX_DATA_TYPE, string containing full C++ attribute type name. If type is IOPC_REF name of the class to which the reference points.

CStdString AttributeInfo::columnName
 

Name of DB column to which the attribute should be mapped.

CStdString AttributeInfo::columnType
 

Type of the DB column.

bool AttributeInfo::persistent
 

Is the attribute persistent?

int AttributeInfo::groupNo
 

Number of group that contains this attribute.

CStdString AttributeInfo::tmpDeclaredIn
 

In which class the attribute was declared (empty if it was declared in the class that contains this AttributeInfo). Temporary value filled by MetadataLoader and later trasformed into declaredIn.

FullClassInfo* AttributeInfo::declaredIn
 

Pointer to class in which the attribute was declared.


The documentation for this struct was generated from the following file:
Generated on Wed Aug 11 22:35:05 2004 for IOPC by Doxygen 1.3.6