NestedSquares

Implements the a nested squares format.

[ verification_docs | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION
AUTHOR

Class Summary

class NestedSquares : public DataFormatter

{

public:
NestedSquares() ;
void formatData(const Grid & g, vector<Area> & a) const;
protected:
private:
void _formatIt(const Grid & g, vector<Area> & a, const int& i) const;
}; // NestedSquares


DESCRIPTION

Concrete subclass of DataFormatter. Implements the a nested squares format.


AUTHOR

Mike Smoot


NestedSquares() ;

Constructor.

		NestedSquares() ;

Function is currently defined inline.


void formatData(const Grid & g, vector<Area> & a) const;

Formats grid as nested squares (36,18,12,9,6,4,3,2)

		void formatData(const Grid & g, vector<Area> & a) const;

void _formatIt(const Grid & g, vector<Area> & a, const int& i) const;

Method called by formatData to do the same work over and over.

		void _formatIt(const Grid & g, vector<Area> & a, const int& i) const;

All Members

public:
DataFormatter& operator=(const DataFormatter& rhs);
string getFormatType() const ;
void formatData(const Grid& g, vector<Area>& areas) ;
void formatData(const Grid & g, vector<Area> & a) const;
protected:

Ancestors

Inheritance chain for NestedSquares:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Wed Aug 30 12:53:36 2000 .

Report problems to jkotula@stratasys.com