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

FullClassInfo Struct Reference

Complete information about one application class and its mapping. More...

#include <ClassHierarchy.h>

Inheritance diagram for FullClassInfo:

Inheritance graph
[legend]
Collaboration diagram for FullClassInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FullClassInfo ()

Public Attributes

std::list< FullClassInfo * > parents
std::list< FullClassInfo * > children
FullClassInfoaddAttributesToParent
FullClassInfoaddAttributesTo
FullClassInfoFlags flags
int classID
void * otherInfo

Detailed Description

Complete information about one application class and its mapping.

In this class is declared the information about the application class that is not directly included in class metadata (f.e. attributes needed for SQL generation, traversing ClassHierarchy etc.). The information is generated from BaseClassInfo's attribute values by ClassHierarchy::createInheritanceHierarchy() and ClassHierarchy::generateMissingValues().


Constructor & Destructor Documentation

FullClassInfo::FullClassInfo  )  [inline]
 

Simple constructor.


Member Data Documentation

std::list<FullClassInfo *> FullClassInfo::parents
 

Pointers to class's parents (in class inheritance graph (ClassHierarchy)).

std::list<FullClassInfo *> FullClassInfo::children
 

Pointers to class's children (in class inheritance graph (ClassHierarchy)).

FullClassInfo* FullClassInfo::addAttributesToParent
 

For filtered mapping only. Pointer to the parent to whom attributes of this class should be added

Note:
If addAttributesToParentStr is non-empty, the pointer points to appropriate class. Otherwise it points to the first parent of this class.

FullClassInfo* FullClassInfo::addAttributesTo
 

For filtered mapping only. Pointer to the class to whose table this class's attributes should be added (it wouldn't be parent, if addAttributesToParent also uses filtered mapping).

FullClassInfoFlags FullClassInfo::flags
 

Flags used when traversing ClassHierarchy.

int FullClassInfo::classID
 

Unique (inside one application/project) ID of class. Used when generating class views, inserting instances to DB and the like.

void* FullClassInfo::otherInfo
 

Used only in MetadataWriter::loadTmpFile(), see description of this method for further info.


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