OOFILE  1.9
Public Member Functions | Protected Attributes | List of all members
dbHierRecursiveRelatedLevel Class Reference

Factory for recursive levels based on relationship where dbTable points back to itself. More...

#include <oofpphier.h>

Inheritance diagram for dbHierRecursiveRelatedLevel:
Inheritance graph
[legend]
Collaboration diagram for dbHierRecursiveRelatedLevel:
Collaboration graph
[legend]

Public Member Functions

virtual unsigned long countNestedItemsFor (oidT)
 
 dbHierRecursiveRelatedLevel (dbView *adoptedView, dbRelRefBase *inTraversalField, OOF_mixOutlineItemFactory *adoptedFactory=0)
 
 dbHierRecursiveRelatedLevel (dbView *adoptedView, dbRelRefBase &inTraversalField, OOF_mixOutlineItemFactory *adoptedFactory=0)
 
 dbHierRecursiveRelatedLevel (dbView *adoptedView, dbRelRefBase &inTraversalField, const dbBool &isLeafField)
 
virtual LOutlineItemmakeItem (oidT inOID, dbHierBrowseHelper *inHelper, unsigned short indentLevel)
 
virtual dbHierLevelmakeNestedLevel () const
 factory for recursive levels, may return 0 if unable to recurse More...
 
LOutlineItemmakeNestedOutlineItem (oidT inOID, dbHierBrowseHelper *inHelper, unsigned short indentLevel)
 methods for making outline items, or changing the factory used to make them More...
 
virtual dbTableselectNestedItemsFor (oidT)
 
void setAlternateItemFactory (OOF_mixOutlineItemFactory *adoptedFactory)
 
dbViewview () const
 

Protected Attributes

OOF_mixOutlineItemFactorymItemFactory
 
dbRelRefBasemTraversalField
 
dbViewmView
 

Detailed Description

Factory for recursive levels based on relationship where dbTable points back to itself.

Note
the dbRelRefBase* version of ctor doesn't allow default 0 arg, as we must have it in a recursive situation to know how to get to the next level

Definition at line 245 of file oofpphier.h.

Constructor & Destructor Documentation

dbHierRecursiveRelatedLevel::dbHierRecursiveRelatedLevel ( dbView adoptedView,
dbRelRefBase inTraversalField,
OOF_mixOutlineItemFactory adoptedFactory = 0 
)
dbHierRecursiveRelatedLevel::dbHierRecursiveRelatedLevel ( dbView adoptedView,
dbRelRefBase inTraversalField,
OOF_mixOutlineItemFactory adoptedFactory = 0 
)
dbHierRecursiveRelatedLevel::dbHierRecursiveRelatedLevel ( dbView adoptedView,
dbRelRefBase inTraversalField,
const dbBool isLeafField 
)

Member Function Documentation

virtual unsigned long dbHierRelatedLevel::countNestedItemsFor ( oidT  )
virtualinherited

Implements dbHierLevel.

virtual LOutlineItem* OOF_mixOutlineItemFactory::makeItem ( oidT  inOID,
dbHierBrowseHelper inHelper,
unsigned short  indentLevel 
)
virtualinherited

Reimplemented in dbOutlineItemFactory.

virtual dbHierLevel* dbHierRecursiveRelatedLevel::makeNestedLevel ( ) const
virtual

factory for recursive levels, may return 0 if unable to recurse

Reimplemented from dbHierLevel.

LOutlineItem* dbHierLevel::makeNestedOutlineItem ( oidT  inOID,
dbHierBrowseHelper inHelper,
unsigned short  indentLevel 
)
inherited

methods for making outline items, or changing the factory used to make them

Referenced by dbHierBrowseHelper::insertItemsBelow().

virtual dbTable* dbHierRelatedLevel::selectNestedItemsFor ( oidT  )
virtualinherited

Implements dbHierLevel.

void dbHierLevel::setAlternateItemFactory ( OOF_mixOutlineItemFactory adoptedFactory)
inherited
dbView * dbHierLevel::view ( ) const
inlineinherited

Member Data Documentation

OOF_mixOutlineItemFactory* dbHierLevel::mItemFactory
protectedinherited

Definition at line 215 of file oofpphier.h.

dbRelRefBase* dbHierRelatedLevel::mTraversalField
protectedinherited

Definition at line 235 of file oofpphier.h.

dbView* dbHierLevel::mView
protectedinherited

Definition at line 214 of file oofpphier.h.

Referenced by dbHierLevel::view().


The documentation for this class was generated from the following file: