Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofDrawStyleArray Class Reference
[OOFILE Graphing engine.]

#include <oofDStyl.h>

Collaboration diagram for oofDrawStyleArray:

Collaboration graph
[legend]
List of all members.

Detailed Description

Array of owned oofDrawStyle's adopting them for correct lifetime management.

Provides both append() and operator<<() interfaces for choice of program style. oofDrawStyle& parameters are copied. Can adopt an entire oofDrawStyleArray to allow efficiently passing objects.

Todo:
confirm can change append(oofDrawStyle&) to append(const oofDrawStyle&)
See also:
oofDrawStyleSetSupplied


Public Member Functions

 oofDrawStyleArray ()
 ~oofDrawStyleArray ()
void append (oofDrawStyle &)
oofDrawStyleArrayoperator<< (oofDrawStyle *)
oofDrawStyleArrayoperator<< (oofDrawStyle &)
const oofDrawStyleitem (unsigned long index) const
void adopt (oofDrawStyleArray *)
 adopts the storage of the array passed in, appending to the end of the current storage.

unsigned long count () const
void deleteAll ()


Constructor & Destructor Documentation

oofDrawStyleArray::oofDrawStyleArray  ) 
 

oofDrawStyleArray::~oofDrawStyleArray  ) 
 


Member Function Documentation

void oofDrawStyleArray::adopt oofDrawStyleArray inArray  ) 
 

adopts the storage of the array passed in, appending to the end of the current storage.

thus we work at a lower level than normal - we are just grabbing these items directly rather than copying as in our normal append()

void oofDrawStyleArray::append oofDrawStyle  ) 
 

unsigned long oofDrawStyleArray::count  )  const
 

void oofDrawStyleArray::deleteAll  ) 
 

const oofDrawStyle & oofDrawStyleArray::item unsigned long  index  )  const
 

oofDrawStyleArray & oofDrawStyleArray::operator<< oofDrawStyle  ) 
 

oofDrawStyleArray & oofDrawStyleArray::operator<< oofDrawStyle  ) 
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:33:44 2004 for OOFILE by doxygen 1.3.5