00001 #ifndef TEXTMESHWRITER_H
00002 #define TEXTMESHWRITER_H
00003
00004 #include "SundanceDefs.h"
00005
00006 #include "MeshWriter.h"
00007
00008
00009 namespace Sundance
00010 {
00011
00012 using namespace TSF;
00013 using std::string;
00014
00015 using std::ostream;
00016
00017
00018
00019
00020
00021 class TextMeshWriter : public MeshWriterBase
00022 {
00023 public:
00024 TextMeshWriter() : MeshWriterBase() {;}
00025 virtual ~TextMeshWriter() {;}
00026
00027 virtual void write(const string& filename,
00028 const Mesh& mesh) const ;
00029
00030
00031
00032 protected:
00033 void writeCell(ostream& os, const Cell& cell) const ;
00034 };
00035
00036 }
00037 #endif