OOFILE  1.9
Public Member Functions | Protected Attributes | List of all members
dbHierLevel Class Referenceabstract

Abstract for factory making recursive levels. More...

#include <oofpphier.h>

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

Public Member Functions

virtual unsigned long countNestedItemsFor (oidT)=0
 
 dbHierLevel (dbView *adoptedView, OOF_mixOutlineItemFactory *adoptedFactory=0)
 
 dbHierLevel (dbView *adoptedView, 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)=0
 
void setAlternateItemFactory (OOF_mixOutlineItemFactory *adoptedFactory)
 
dbViewview () const
 
virtual ~dbHierLevel ()
 

Protected Attributes

OOF_mixOutlineItemFactorymItemFactory
 
dbViewmView
 

Detailed Description

Abstract for factory making recursive levels.

Note
typically used to automatically generate a tree displaying a database containing a filesystem map.

Definition at line 193 of file oofpphier.h.

Constructor & Destructor Documentation

dbHierLevel::dbHierLevel ( dbView adoptedView,
OOF_mixOutlineItemFactory adoptedFactory = 0 
)
dbHierLevel::dbHierLevel ( dbView adoptedView,
const dbBool isLeafField 
)
virtual dbHierLevel::~dbHierLevel ( )
virtual

Member Function Documentation

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

Reimplemented in dbOutlineItemFactory.

virtual dbHierLevel* dbHierLevel::makeNestedLevel ( ) const
virtual

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 
)

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

Referenced by dbHierBrowseHelper::insertItemsBelow().

virtual dbTable* dbHierLevel::selectNestedItemsFor ( oidT  )
pure virtual
void dbHierLevel::setAlternateItemFactory ( OOF_mixOutlineItemFactory adoptedFactory)
dbView * dbHierLevel::view ( ) const
inline

Member Data Documentation

OOF_mixOutlineItemFactory* dbHierLevel::mItemFactory
protected

Definition at line 215 of file oofpphier.h.

dbView* dbHierLevel::mView
protected

Definition at line 214 of file oofpphier.h.

Referenced by view().


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