Public Member Functions | Private Attributes

weipa::FileWriter Class Reference

#include <FileWriter.h>

List of all members.

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().

Referenced by openFile().

std::ofstream weipa::FileWriter::ofs [private]

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