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

Create LOutlineItem's for each item displayed in tree control. More...

#include <oofpphier.h>

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

Public Member Functions

 dbOutlineItemFactory (fieldNumT leafFieldNum)
 
 dbOutlineItemFactory (const dbBool &leafField)
 
virtual LOutlineItemmakeItem (oidT inOID, dbHierBrowseHelper *inHelper, unsigned short indentLevel)
 

Protected Member Functions

bool IsLeaf (dbHierBrowseHelper *, unsigned short indentLevel)
 

Detailed Description

Create LOutlineItem's for each item displayed in tree control.

Commonly used with totally unrelated dbViews at each level. takes field number used to decide if leaf used by default if pass bool field into dbHierLevel subclasses (making dbViewOutlineItem's) or subclass to override makeItem and make your own item types

Todo:
document in better detail!

Definition at line 171 of file oofpphier.h.

Constructor & Destructor Documentation

dbOutlineItemFactory::dbOutlineItemFactory ( fieldNumT  leafFieldNum)
dbOutlineItemFactory::dbOutlineItemFactory ( const dbBool leafField)

Member Function Documentation

bool dbOutlineItemFactory::IsLeaf ( dbHierBrowseHelper ,
unsigned short  indentLevel 
)
protected
virtual LOutlineItem* dbOutlineItemFactory::makeItem ( oidT  inOID,
dbHierBrowseHelper inHelper,
unsigned short  indentLevel 
)
virtual

Reimplemented from OOF_mixOutlineItemFactory.


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