39 write(
"Ensight Geometry File"); newline();
40 write(
"====================="); newline();
41 write(
"node id assign"); newline();
42 write(
"element id assign"); newline();
Ensight output with specialised write() for strings, integers and floats. Correctly handles binary wr...
A class for handling file names.
ensightGeoFile(const fileName &filePath, IOstream::streamFormat format=IOstream::BINARY)
Construct from filePath.
streamFormat
Enumeration for the format of data in the stream.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
virtual Ostream & writeKeyword(const string &key)
Write keyword with trailing newline.
virtual Ostream & write(const char *buf, std::streamsize count)
Binary write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void newline()
Add carriage return to ascii stream.
~ensightGeoFile()
Destructor.