msbGrid  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
msbGrid::GeoFilesWriter Class Reference

#include <geofileswriter.hh>

Public Types

typedef msbGrid::InputData InputData
 
typedef msbGrid::Color Color
 
typedef msbGrid::Point Point
 
typedef msbGrid::Edge Edge
 
typedef msbGrid::Cell Cell
 

Public Member Functions

 GeoFilesWriter (const InputData *inputData)
 
 ~GeoFilesWriter ()
 
void openFile (const std::string &name)
 
void writeCommanLine_ ()
 
const std::string geoFile (const std::string &name="newFile", const bool &fromBuildDirectory=false)
 
void closeFile ()
 
void write (const std::string &texte)
 
void write (const Point &pt0, const std::string &clName0="")
 
void write (const Edge &ed0)
 
void write (const msbGrid::Block< Point > &bl0, const std::string &clName)
 
void writeLineLoop (const std::vector< Edge * > &vEd0, const int &lineLoopNumber)
 
template<int locEdNumber>
void write (const msbGrid::Polygon< locEdNumber > &pl0)
 
template<typename EntityT >
void write (const msbGrid::Block< EntityT > &bl0, const bool &physical=false)
 

Private Attributes

const InputDatainputData_
 
std::ofstream outputFile_
 

Detailed Description

Definition at line 35 of file geofileswriter.hh.

Member Typedef Documentation

typedef msbGrid :: Cell msbGrid::GeoFilesWriter::Cell

Definition at line 43 of file geofileswriter.hh.

Definition at line 39 of file geofileswriter.hh.

typedef msbGrid :: Edge msbGrid::GeoFilesWriter::Edge

Definition at line 42 of file geofileswriter.hh.

Definition at line 38 of file geofileswriter.hh.

Definition at line 41 of file geofileswriter.hh.

Constructor & Destructor Documentation

msbGrid::GeoFilesWriter::GeoFilesWriter ( const InputData inputData)
inline

Definition at line 51 of file geofileswriter.hh.

msbGrid::GeoFilesWriter::~GeoFilesWriter ( )
inline

Definition at line 56 of file geofileswriter.hh.

Member Function Documentation

void msbGrid::GeoFilesWriter::closeFile ( )
inline

Definition at line 139 of file geofileswriter.hh.

const std :: string msbGrid::GeoFilesWriter::geoFile ( const std::string &  name = "newFile",
const bool &  fromBuildDirectory = false 
)
inline

Definition at line 130 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::openFile ( const std::string &  name)
inline

Definition at line 58 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::write ( const std::string &  texte)
inline

Definition at line 146 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::write ( const Point pt0,
const std::string &  clName0 = "" 
)
inline

Definition at line 150 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::write ( const Edge ed0)
inline

Definition at line 172 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::write ( const msbGrid::Block< Point > &  bl0,
const std::string &  clName 
)
inline

Definition at line 184 of file geofileswriter.hh.

template<int locEdNumber>
void msbGrid::GeoFilesWriter::write ( const msbGrid::Polygon< locEdNumber > &  pl0)
inline

Definition at line 224 of file geofileswriter.hh.

template<typename EntityT >
void msbGrid::GeoFilesWriter::write ( const msbGrid::Block< EntityT > &  bl0,
const bool &  physical = false 
)
inline

Definition at line 268 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::writeCommanLine_ ( )
inline

Definition at line 111 of file geofileswriter.hh.

void msbGrid::GeoFilesWriter::writeLineLoop ( const std::vector< Edge * > &  vEd0,
const int &  lineLoopNumber 
)
inline

Definition at line 196 of file geofileswriter.hh.

Member Data Documentation

const InputData* msbGrid::GeoFilesWriter::inputData_
private

Definition at line 46 of file geofileswriter.hh.

std :: ofstream msbGrid::GeoFilesWriter::outputFile_
private

Definition at line 47 of file geofileswriter.hh.


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