Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbObjectVisitorContext::Element Class Reference

An internal elmnet of the contex. More...

#include <CdbBdbObjectVisitorContext.hh>

List of all members.

Public Types

enum  Type {
  OBJECT, BASE_CLASS, EMBEDDED_OBJECT, MAP_ELEMENT,
  REFERENCE, MANY_RELATIONSHIP, ONE_RELATIONSHIP
}
 A kind of an element. More...


Public Member Functions

 Element (const Element &theOther)
 Copy constructor.

Element & operator= (const Element &theOther)
 Assignment operator.

Type type () const
const ooRef (ooObj)&ref() const
const std::string & name () const
const std::string & name_2 () const
size_t index () const

Static Public Member Functions

Element createObject (const ooRef(ooObj)&theRef, const char *theClassName)
Element createBaseClass (const char *theClassName)
Element createEmbeddedObject (const char *theClassName, const char *theName, size_t theIndex=0)
Element createMapElement (const char *theKeyName)
Element createReference (const char *theName, size_t theIndex=0)
Element createManyRelationship (const char *theName)
Element createOneRelationship (const char *theName)


Detailed Description

An internal elmnet of the contex.

More details...

Definition at line 34 of file CdbBdbObjectVisitorContext.hh.


Member Enumeration Documentation

enum CdbBdbObjectVisitorContext::Element::Type
 

A kind of an element.

These values determine the semantics and usability of other data members of particular elements.

Enumeration values:
OBJECT 
BASE_CLASS 
EMBEDDED_OBJECT 
MAP_ELEMENT 
REFERENCE 
MANY_RELATIONSHIP 
ONE_RELATIONSHIP 

Definition at line 43 of file CdbBdbObjectVisitorContext.hh.


Constructor & Destructor Documentation

CdbBdbObjectVisitorContext::Element::Element const Element &    theOther [inline]
 

Copy constructor.

Definition at line 139 of file CdbBdbObjectVisitorContext.hh.

Referenced by createBaseClass(), createEmbeddedObject(), createManyRelationship(), createMapElement(), createObject(), createOneRelationship(), and createReference().


Member Function Documentation

Element CdbBdbObjectVisitorContext::Element::createBaseClass const char *    theClassName [inline, static]
 

Definition at line 85 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createEmbeddedObject const char *    theClassName,
const char *    theName,
size_t    theIndex = 0
[inline, static]
 

Definition at line 93 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createManyRelationship const char *    theName [inline, static]
 

Definition at line 120 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createMapElement const char *    theKeyName [inline, static]
 

Definition at line 103 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createObject const ooRef(ooObj)&    theRef,
const char *    theClassName
[inline, static]
 

Definition at line 76 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createOneRelationship const char *    theName [inline, static]
 

Definition at line 128 of file CdbBdbObjectVisitorContext.hh.

References Element().

Element CdbBdbObjectVisitorContext::Element::createReference const char *    theName,
size_t    theIndex = 0
[inline, static]
 

Definition at line 111 of file CdbBdbObjectVisitorContext.hh.

References Element().

size_t CdbBdbObjectVisitorContext::Element::index   const [inline]
 

Definition at line 183 of file CdbBdbObjectVisitorContext.hh.

const std::string& CdbBdbObjectVisitorContext::Element::name   const [inline]
 

Definition at line 173 of file CdbBdbObjectVisitorContext.hh.

const std::string& CdbBdbObjectVisitorContext::Element::name_2   const [inline]
 

Definition at line 178 of file CdbBdbObjectVisitorContext.hh.

const CdbBdbObjectVisitorContext::Element::ooRef ooObj    const [inline]
 

Definition at line 168 of file CdbBdbObjectVisitorContext.hh.

Element& CdbBdbObjectVisitorContext::Element::operator= const Element &    theOther [inline]
 

Assignment operator.

Definition at line 149 of file CdbBdbObjectVisitorContext.hh.

References _index, _name, _name_2, and _type.

Type CdbBdbObjectVisitorContext::Element::type   const [inline]
 

Definition at line 163 of file CdbBdbObjectVisitorContext.hh.


The documentation for this class was generated from the following file:
Generated on Mon Dec 5 18:22:18 2005 for CDB by doxygen1.3-rc3