DataFormatter

An abstract class whose children format grid data in different ways.

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

Quick Index

DESCRIPTION
AUTHOR

Class Summary

class DataFormatter

{

public:
DataFormatter(const string & s ) ;
DataFormatter(const DataFormatter& g) ;
~DataFormatter();
DataFormatter& operator=(const DataFormatter& rhs);
string getFormatType() const ;
void formatData(const Grid& g, vector<Area>& areas) ;
protected:
private:
string _formatType;
vector< vector<bool> > _areaBad;
}; // DataFormatter


DESCRIPTION

An abstract class whose children format grid data in different ways.


AUTHOR

Mike Smoot


DataFormatter(const string & s ) ;

Constructor.

		DataFormatter(const string & s = "none") ;

Function is currently defined inline.


DataFormatter(const DataFormatter& g) ;

Copy constructor.

		DataFormatter(const DataFormatter& g) ;

Function is currently defined inline.


~DataFormatter();

Destructor

		virtual ~DataFormatter();

DataFormatter& operator=(const DataFormatter& rhs);

Operator =

		DataFormatter& operator=(const DataFormatter& rhs);

string getFormatType() const ;

Returns the name of the format type as specified by the child constructor.

		string getFormatType() const                        ;

Function is currently defined inline.


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

Overridden by child classes to format data in specific ways.

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

Function is currently defined inline.


string _formatType;

Name describing the format style.

		string _formatType;

vector< vector<bool> > _areaBad;

A vector of vector of bools. The bools indicate whether or not an area is bad.

		vector< vector<bool> > _areaBad;

All Members

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

Ancestors

Class does not inherit from any other class.


Descendants


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

Report problems to jkotula@stratasys.com