MeshWrite::MeshFileWriter Class Reference

#include <MeshFileWriter.h>

Inheritance diagram for MeshWrite::MeshFileWriter:
Inheritance graph
[legend]
Collaboration diagram for MeshWrite::MeshFileWriter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshFileWriter ()
 MeshFileWriter (const std::string &file_name)
virtual ~MeshFileWriter ()
void Free ()
bool Init ()
virtual bool Init (const std::string &file_name)
virtual bool doWrite (const hHybridMesh *mesh)

Protected Attributes

std::ofstream _file
std::string _file_name

Constructor & Destructor Documentation

MeshFileWriter::MeshFileWriter (  ) 
MeshFileWriter::MeshFileWriter ( const std::string &  file_name  ) 
MeshFileWriter::~MeshFileWriter (  )  [virtual]

Here is the call graph for this function:


Member Function Documentation

bool MeshFileWriter::doWrite ( const hHybridMesh mesh  )  [virtual]
void MeshFileWriter::Free (  )  [virtual]

Frees all resources allocated by class during mesh export.

Implements MeshWrite::IMeshWriter.

Reimplemented in MeshWrite::DmpFileExporter, MeshWrite::KazFileExporter, and MeshWrite::MileninExporter.

Here is the caller graph for this function:

bool MeshFileWriter::Init ( const std::string &  file_name  )  [virtual]
bool MeshFileWriter::Init (  )  [virtual]

Initializes exporter. After this function call exporter should be ready for exporting the mesh. /return true if exporter initializes correctly, otherwise false. If this function doesn't succeeded exporting process is gently stopped and error is thrown.

Implements MeshWrite::IMeshWriter.

Reimplemented in MeshWrite::DmpFileExporter, MeshWrite::KazFileExporter, and MeshWrite::MileninExporter.

Here is the caller graph for this function:


Member Data Documentation

std::ofstream MeshWrite::MeshFileWriter::_file [protected]
std::string MeshWrite::MeshFileWriter::_file_name [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1