escript  Revision_
Public Member Functions | Private Attributes
esysUtils::FileWriter Class Reference

#include <esysFileWriter.h>

List of all members.

Public Member Functions

 FileWriter ()
bool openFile (std::string filename, size_t initialSize=0)
bool writeOrdered (std::ostringstream &oss)
bool writeShared (std::ostringstream &oss)
bool writeAt (std::ostringstream &oss, long offset)
void close ()

Private Attributes

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

Constructor & Destructor Documentation


Member Function Documentation

void esysUtils::FileWriter::close ( ) [inline]
bool esysUtils::FileWriter::openFile ( std::string  filename,
size_t  initialSize = 0 
) [inline]
bool esysUtils::FileWriter::writeAt ( std::ostringstream &  oss,
long  offset 
) [inline]
bool esysUtils::FileWriter::writeOrdered ( std::ostringstream &  oss) [inline]

References mpiSize, and ofs.

bool esysUtils::FileWriter::writeShared ( std::ostringstream &  oss) [inline]

References mpiSize, and ofs.


Member Data Documentation

Referenced by openFile().

Referenced by openFile().

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

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