35 #ifndef surfaceWriter_H 36 #define surfaceWriter_H 101 const word& writeType,
109 const word& writeType,
153 const word& fieldName,
155 const bool isNodeValues
166 const word& fieldName,
168 const bool isNodeValues
179 const word& fieldName,
181 const bool isNodeValues
192 const word& fieldName,
194 const bool isNodeValues
205 const word& fieldName,
207 const bool isNodeValues
virtual bool separateGeometry()
True if the surface format supports geometry in a separate file.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< surfaceWriter > New(const word &writeType, const IOstream::streamFormat writeFormat)
Return a reference to the selected surfaceWriter.
virtual void write(const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces) const =0
Write single surface geometry to file.
virtual ~surfaceWriter()
Destructor.
IOstream::streamFormat writeFormat_
Write format.
A class for handling words, derived from string.
streamFormat
Enumeration for the format of data in the stream.
declareRunTimeSelectionTable(autoPtr, surfaceWriter, word,(const IOstream::streamFormat writeFormat),(writeFormat))
TypeName("surfaceWriter")
Runtime type information.
surfaceWriter(const IOstream::streamFormat writeFormat)
Construct given write format.
Base class for surface writers.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.