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
Collaboration diagram for OOF_mixIterableBand:
Collaboration graph

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.

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 ( )
oofRepBreakList & OOF_mixIterableBand::headerBreaks ( )
virtual bool OOF_mixIterableBand::more ( )
pure virtual
virtual void OOF_mixIterableBand::next ( )
pure virtual
virtual void OOF_mixIterableBand::start ( )

Reimplemented in oofRepViewBand, and oofRepIterableTreeBand.

Definition at line 925 of file oofrep.h.

Referenced by oofRep::DrawComplexBand().

Member Data Documentation

oofRepBreakList OOF_mixIterableBand::mFooterBreaks

Definition at line 932 of file oofrep.h.

Referenced by footerBreaks().

oofRepBreakList OOF_mixIterableBand::mHeaderBreaks

Definition at line 931 of file oofrep.h.

Referenced by headerBreaks().

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