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

visits all report objects. More...

#include <oofrep.h>

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

Public Member Functions

 oofRepVisitor ()
 
virtual void visit (oofRep *)
 Top-level that iterates all the others, encapsulating report structure. More...
 
virtual ~oofRepVisitor ()
 empty virtual dtor because we subclass More...
 

Protected Member Functions

void VisitTypedBand (oofRepBand *)
 
Visit Associated band or break lists
virtual void VisitFirstPageHeaders (oofRepBandList &)
 
virtual void VisitFirstPageFooters (oofRepBandList &)
 
virtual void VisitPageHeaders (oofRepBandList &)
 
virtual void VisitPageFooters (oofRepBandList &)
 
virtual void VisitBody (oofRepBand *)
 that top body is likely to be complex so doesn't bother testing. More...
 
virtual void VisitIterableBandBody (oofRepBand *)
 Isolates these bands so more complex visitors can optimise their querying. More...
 
virtual void VisitBandHeaders (oofRepBandList &)
 
virtual void VisitBandFooters (oofRepBandList &)
 
virtual void VisitBandHeaderBreaks (oofRepBreakList &)
 
virtual void VisitBandFooterBreaks (oofRepBreakList &)
 
core visit methods
virtual void VisitBandList (oofRepBandList &)
 
virtual void VisitBreakList (oofRepBreakList &)
 
virtual void VisitBlockList (oofRepBlockList &)
 
virtual void VisitComplexBand (oofRepBand *)
 Visit a band which is likely to provide one or more optional interfaces. More...
 
virtual void VisitLayoutBand (oofRepLayoutBand *)
 
virtual void VisitBlock (oofRepBlock *)
 
virtual void VisitBand (oofRepBand *)
 
virtual void VisitDrawable (oofRepDrawable *)
 
methods for subclass to visit adorners, not called by default visit traversal
virtual void VisitAdornerList (oofAdornerList &)
 
virtual void VisitAdorner (oofAdorner *)
 
override these if you need to update some kind of depth counter as the default traverses above are used
virtual void EnterLevel ()
 
virtual void LeaveLevel ()
 

Protected Attributes

oofRepmRep
 

Detailed Description

visits all report objects.

Used largely for XML and other output formats

See also
oofRepXMLEnv::StartReport for use of several visitors.

Definition at line 484 of file oofrep.h.

Constructor & Destructor Documentation

oofRepVisitor::oofRepVisitor ( )
inline

Definition at line 486 of file oofrep.h.

oofRepVisitor::~oofRepVisitor ( )
virtual

empty virtual dtor because we subclass

Definition at line 1479 of file oofrep2.cpp.

References mRep.

Member Function Documentation

void oofRepVisitor::EnterLevel ( )
protectedvirtual

Reimplemented in OOF_repXMLstyleVisitor.

Definition at line 1760 of file oofrep2.cpp.

Referenced by VisitAdornerList(), VisitBandList(), VisitBlockList(), VisitBody(), and VisitBreakList().

void oofRepVisitor::LeaveLevel ( )
protectedvirtual

Reimplemented in OOF_repXMLstyleVisitor.

Definition at line 1767 of file oofrep2.cpp.

Referenced by VisitAdornerList(), VisitBandList(), VisitBlockList(), VisitBody(), and VisitBreakList().

void oofRepVisitor::visit ( oofRep inRep)
virtual
void oofRepVisitor::VisitAdorner ( oofAdorner )
protectedvirtual

Reimplemented in OOF_repXMLadornerVisitor, and OOF_repMakeRenderVisitor.

Definition at line 1658 of file oofrep2.cpp.

Referenced by VisitAdornerList().

void oofRepVisitor::VisitAdornerList ( oofAdornerList inList)
protectedvirtual
void oofRepVisitor::VisitBand ( oofRepBand inBand)
protectedvirtual

Definition at line 1672 of file oofrep2.cpp.

References VisitDrawable().

Referenced by VisitComplexBand(), VisitIterableBandBody(), VisitLayoutBand(), and VisitTypedBand().

void oofRepVisitor::VisitBandFooterBreaks ( oofRepBreakList inBreaks)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1593 of file oofrep2.cpp.

References VisitBreakList().

Referenced by VisitComplexBand().

void oofRepVisitor::VisitBandFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1579 of file oofrep2.cpp.

References VisitBandList().

Referenced by VisitComplexBand().

void oofRepVisitor::VisitBandHeaderBreaks ( oofRepBreakList inBreaks)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1586 of file oofrep2.cpp.

References VisitBreakList().

Referenced by VisitComplexBand().

void oofRepVisitor::VisitBandHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1572 of file oofrep2.cpp.

References VisitBandList().

Referenced by VisitComplexBand().

void oofRepVisitor::VisitBandList ( oofRepBandList inBands)
protectedvirtual
void oofRepVisitor::VisitBlock ( oofRepBlock inBlock)
protectedvirtual

Definition at line 1665 of file oofrep2.cpp.

References VisitDrawable().

Referenced by VisitBlockList().

void oofRepVisitor::VisitBlockList ( oofRepBlockList inBlocks)
protectedvirtual
void oofRepVisitor::VisitBody ( oofRepBand inBand)
protectedvirtual

that top body is likely to be complex so doesn't bother testing.

Definition at line 1563 of file oofrep2.cpp.

References EnterLevel(), LeaveLevel(), and VisitComplexBand().

void oofRepVisitor::VisitBreakList ( oofRepBreakList inBreaks)
protectedvirtual
void oofRepVisitor::VisitComplexBand ( oofRepBand inBand)
protectedvirtual
void oofRepVisitor::VisitDrawable ( oofRepDrawable )
protectedvirtual
void oofRepVisitor::VisitFirstPageFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1539 of file oofrep2.cpp.

References VisitBandList().

Referenced by visit().

void oofRepVisitor::VisitFirstPageHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1532 of file oofrep2.cpp.

References VisitBandList().

Referenced by visit().

void oofRepVisitor::VisitIterableBandBody ( oofRepBand inBand)
protectedvirtual

Isolates these bands so more complex visitors can optimise their querying.

Default case just treats as normal band.

Reimplemented in OOF_repEditSetupVisitor, and OOF_repXMLstyleVisitor.

Definition at line 1690 of file oofrep2.cpp.

References VisitBand().

Referenced by VisitComplexBand(), and OOF_repXMLstyleVisitor::VisitIterableBandBody().

void oofRepVisitor::VisitLayoutBand ( oofRepLayoutBand inBand)
protectedvirtual
void oofRepVisitor::VisitPageFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1553 of file oofrep2.cpp.

References VisitBandList().

Referenced by visit().

void oofRepVisitor::VisitPageHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1546 of file oofrep2.cpp.

References VisitBandList().

Referenced by visit().

void oofRepVisitor::VisitTypedBand ( oofRepBand inBand)
protected

Member Data Documentation

oofRep* oofRepVisitor::mRep
protected

Definition at line 546 of file oofrep.h.

Referenced by visit(), VisitComplexBand(), and ~oofRepVisitor().


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