Go to the documentation of this file.
146 const word& writeFormat,
201 const bool writeTracks,
212 template<
class VSType>
declareRunTimeSelectionTable(autoPtr, writer, word,(),())
Ostream & writeVS(const VSType &, Ostream &) const
A class for handling words, derived from Foam::string.
A class for handling file names.
TypeName("writer")
Runtime type information.
fileName getBaseName(const coordSet &, const wordList &) const
Generates filename from coordSet and sampled fields.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
General entry point for writing.
virtual ~writer()=default
Destructor.
const dictionary formatOptions
virtual fileName getFileName(const coordSet &, const wordList &) const =0
Generate file name with correct extension.
Generic templated field type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
writer()
Default construct.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
void writeTable(const coordSet &, const List< Type > &, Ostream &) const
Writes single-column ascii write. Column 1 is coordSet coordinate,.
void writeCoord(const coordSet &, const label sampleI, Ostream &) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeSeparator(Ostream &os) const
Writes a separator. Used by write functions.
static autoPtr< writer > New(const word &writeFormat)
Return a reference to the selected writer.