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

Factory for levels based on relationships where each level a dbView has a relationship to the next. More...

#include <oofpphier.h>

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

Public Member Functions

virtual unsigned long countNestedItemsFor (oidT)
 
 dbHierRelatedLevel (dbView *adoptedView, dbRelRefBase *inTraversalField=0, OOF_mixOutlineItemFactory *adoptedFactory=0)
 
 dbHierRelatedLevel (dbView *adoptedView, dbRelRefBase &inTraversalField, OOF_mixOutlineItemFactory *adoptedFactory=0)
 
 dbHierRelatedLevel (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 levels based on relationships where each level a dbView has a relationship to the next.

Definition at line 223 of file oofpphier.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual unsigned long dbHierRelatedLevel::countNestedItemsFor ( oidT  )
virtual

Implements dbHierLevel.

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

Reimplemented in dbOutlineItemFactory.

virtual dbHierLevel* dbHierLevel::makeNestedLevel ( ) const
virtualinherited

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

Reimplemented in dbHierRecursiveRelatedLevel.

Referenced by dbHierBrowseHelper::insertItemsBelow().

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  )
virtual

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
protected

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: