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

Mixin base for oofGraph's that draw lines as overlays on original bars. More...

#include <oofGrphs.h>

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

Public Member Functions

unsigned long getNumOverlaid () const
 
dbViewgetOverlayView () const
 
 OOF_mixOverlayableGraph (unsigned long numOverlaid=0)
 
void setOverlaid (unsigned long numOverlaid)
 
void setOverlayView (dbView *clonedView)
 will become adoptedView in future More...
 
void setOverlayView (const dbView &clonedView)
 
virtual ~OOF_mixOverlayableGraph ()
 

Protected Attributes

unsigned long mNumOverlaid
 Allow for items in the main view to be overlaid. More...
 
dbViewmOverlayView
 OWNED Allow for adding another view (long) with an overlay in it. More...
 

Detailed Description

Mixin base for oofGraph's that draw lines as overlays on original bars.

Just performs the data management for the overlay. Either overlay by specifying a single dbView to have one column of dbLong values or specify a number N saying the last N series of the original data are drawn as overlays.

Todo:
allow the dbView incoming to contain more than one sries

Definition at line 139 of file oofGrphs.h.

Constructor & Destructor Documentation

OOF_mixOverlayableGraph::OOF_mixOverlayableGraph ( unsigned long  numOverlaid = 0)

Definition at line 268 of file oofGrphs.cpp.

OOF_mixOverlayableGraph::~OOF_mixOverlayableGraph ( )
virtual

Definition at line 274 of file oofGrphs.cpp.

References mOverlayView.

Member Function Documentation

unsigned long OOF_mixOverlayableGraph::getNumOverlaid ( ) const
inline

Definition at line 406 of file oofGrphs.h.

References mNumOverlaid.

Referenced by oofRepGraphBand::numOverlaid().

dbView * OOF_mixOverlayableGraph::getOverlayView ( ) const
inline

Definition at line 399 of file oofGrphs.h.

References mOverlayView.

Referenced by oofRepGraphBand::view().

void OOF_mixOverlayableGraph::setOverlaid ( unsigned long  numOverlaid)

Definition at line 281 of file oofGrphs.cpp.

References mNumOverlaid.

Referenced by oofGraphWindow::CreateStackedBarGraphWindowWithOverlay().

void OOF_mixOverlayableGraph::setOverlayView ( dbView clonedView)

will become adoptedView in future

Definition at line 288 of file oofGrphs.cpp.

References mOverlayView.

Referenced by oofGraphWindow::CreateStackedBarGraphWindowWithOverlayView().

void OOF_mixOverlayableGraph::setOverlayView ( const dbView clonedView)

Definition at line 296 of file oofGrphs.cpp.

References mOverlayView.

Member Data Documentation

unsigned long OOF_mixOverlayableGraph::mNumOverlaid
protected

Allow for items in the main view to be overlaid.

Definition at line 154 of file oofGrphs.h.

Referenced by oofStackedBarGraph::finishConstruction(), getNumOverlaid(), and setOverlaid().

dbView* OOF_mixOverlayableGraph::mOverlayView
protected

OWNED Allow for adding another view (long) with an overlay in it.

Definition at line 155 of file oofGrphs.h.

Referenced by oofStackedBarGraph::finishConstruction(), oofOrdinalStackedBarGraph::finishConstruction(), getOverlayView(), setOverlayView(), and ~OOF_mixOverlayableGraph().


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