Escript  Revision_4320
Public Member Functions | Private Attributes | List of all members
weipa::FileWriter Class Reference

#include <FileWriter.h>

Public Member Functions

 FileWriter ()
bool openFile (std::string filename)
bool writeOrdered (std::ostringstream &oss)
bool writeShared (std::ostringstream &oss)
void close ()

Private Attributes

int mpiRank
int mpiSize
void * mpiComm
std::ofstream ofs

Constructor & Destructor Documentation

weipa::FileWriter::FileWriter ( )

Member Function Documentation

void weipa::FileWriter::close ( )

References mpiSize, and ofs.

Referenced by weipa::EscriptDataset::saveVTKsingle().

bool weipa::FileWriter::openFile ( std::string  filename)
bool weipa::FileWriter::writeOrdered ( std::ostringstream &  oss)

References mpiSize, and ofs.

Referenced by weipa::EscriptDataset::saveVTKsingle().

bool weipa::FileWriter::writeShared ( std::ostringstream &  oss)

References mpiSize, and ofs.

Referenced by weipa::EscriptDataset::saveVTKsingle().

Member Data Documentation

void* weipa::FileWriter::mpiComm
private

Referenced by openFile().

int weipa::FileWriter::mpiRank
private

Referenced by openFile().

int weipa::FileWriter::mpiSize
private
std::ofstream weipa::FileWriter::ofs
private

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