35 #ifndef masterOFstream_H 36 #define masterOFstream_H 68 void checkWrite(
const fileName& fName,
const string&
str);
82 const bool append =
false,
83 const bool write =
true A class for handling file names.
versionNumber version() const
Return the stream version.
Master-only drop-in replacement for OFstream.
streamFormat
Enumeration for the format of data in the stream.
streamFormat format() const
Return current stream format.
compressionType
Enumeration for the format of data in the stream.
masterOFstream(const fileName &pathname, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED, const bool append=false, const bool write=true)
Construct and set stream status.
virtual Ostream & write(const char)
Write character.
compressionType compression() const
Return the stream compression.
~masterOFstream()
Destructor.
static const versionNumber currentVersion
Current version number.
string str() const
Return the string.
Output to memory buffer stream.