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

Convenient mixin if you want to have a band which iterates and has breaks. More...

#include <oofrep.h>

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

Public Member Functions

oofRepBreakListfooterBreaks ()
 
oofRepBreakListheaderBreaks ()
 
iterator interface
virtual void start ()
 
virtual bool more ()=0
 
virtual void next ()=0
 

Protected Attributes

oofRepBreakList mFooterBreaks
 
oofRepBreakList mHeaderBreaks
 

Detailed Description

Convenient mixin if you want to have a band which iterates and has breaks.

draw() is called multiple times, once per iteration.

A common implementation is for the iteration to represent rows in a primary database table, but their is nothing preventing iteration having any other meaning in providing content.

Warning
if you mix this in, implement asIterableBand() and more, next

Definition at line 918 of file oofrep.h.

Member Function Documentation

oofRepBreakList & OOF_mixIterableBand::footerBreaks ( )
inline
oofRepBreakList & OOF_mixIterableBand::headerBreaks ( )
inline
virtual bool OOF_mixIterableBand::more ( )
pure virtual
virtual void OOF_mixIterableBand::next ( )
pure virtual
virtual void OOF_mixIterableBand::start ( )
inlinevirtual

Reimplemented in oofRepViewBand, and oofRepIterableTreeBand.

Definition at line 925 of file oofrep.h.

Referenced by oofRep::DrawComplexBand().

Member Data Documentation

oofRepBreakList OOF_mixIterableBand::mFooterBreaks
protected

Definition at line 932 of file oofrep.h.

Referenced by footerBreaks().

oofRepBreakList OOF_mixIterableBand::mHeaderBreaks
protected

Definition at line 931 of file oofrep.h.

Referenced by headerBreaks().


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