Abstract class for a VTK output stream formatter. More...
Public Types | |
enum | quoteChar : char { DOUBLE_QUOTE = '\"', SINGLE_QUOTE = '\'' } |
Quoting for XML attributes. More... | |
typedef uint64_t | headerType |
The header data is vtk UInt64. More... | |
Public Member Functions | |
virtual | ~formatter ()=default |
Destructor. More... | |
std::ostream & | os () noexcept |
Access to the underlying output stream. More... | |
virtual const vtk::outputOptions & | opts () const =0 |
The format-type / output options. More... | |
virtual const char * | name () const =0 |
Name for the XML output type or the legacy output type. More... | |
virtual const char * | encoding () const =0 |
Name for the XML append encoding. More... | |
void | quoting (const quoteChar quote) |
Change quoting char for XML attributes (default: SINGLE_QUOTE) More... | |
virtual uint64_t | offset (const uint64_t numbytes) |
Increase the append data offset by numbytes and sizeof(uint64_t). More... | |
virtual std::size_t | encodedLength (std::size_t n) const |
The encoded length for binary output is pass-through. More... | |
virtual bool | writeSize (const uint64_t numbytes)=0 |
Write leading size for binary output. More... | |
virtual void | write (const uint8_t val)=0 |
virtual void | write (const label val)=0 |
virtual void | write (const float val)=0 |
virtual void | write (const double val)=0 |
virtual void | flush ()=0 |
Flush encoding, write newline etc. More... | |
void | indent () |
Add indenting according to the current XML tag depth. More... | |
void | indent (label n) |
Add indenting of n spaces. More... | |
formatter & | xmlHeader () |
Write XML header. More... | |
template<class... Args> | |
formatter & | xmlComment (const std::string &text, Args &&... args) |
Write XML comment (at the current indentation level) More... | |
template<class... Args> | |
formatter & | openTag (const word &tagName, Args &&... args) |
Start an XML tag, optionally with attributes. More... | |
template<class... Args> | |
formatter & | openTag (vtk::fileTag t, Args &&... args) |
Start an XML tag, optionally with attributes. More... | |
formatter & | closeTag (const bool isEmpty=false) |
Finish an XML tag, optional as an empty container. More... | |
formatter & | endTag (const word &tagName=word::null) |
An end XML tag, optional with sanity check. More... | |
virtual formatter & | endTag (vtk::fileTag t) |
An end XML tag with sanity check. More... | |
template<class... Args> | |
formatter & | tag (const word &t, Args &&... args) |
Write XML tag without any attributes. Combines openTag/closeTag. More... | |
template<class... Args> | |
formatter & | tag (vtk::fileTag t, Args &&... args) |
Write XML tag without any attributes. Combines openTag/closeTag. More... | |
formatter & | beginVTKFile (const word &contentType, const word &contentVersion, const bool leaveOpen=false) |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself. More... | |
formatter & | beginVTKFile (vtk::fileTag contentType, const word &contentVersion, const bool leaveOpen=false) |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself. More... | |
formatter & | beginVTKFile (vtk::fileTag contentType, const bool leaveOpen=false) |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself. More... | |
template<vtk::fileTag ContentType> | |
formatter & | beginVTKFile (bool leaveOpen=false) |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself. More... | |
formatter & | beginAppendedData () |
Add a "AppendedData" XML tag with the current encoding and output the requisite '_' prefix. More... | |
formatter & | beginBlock (label index, std::string name="") |
Begin "Block" XML section. More... | |
formatter & | endBlock () |
End "Block" XML section. More... | |
formatter & | beginPiece (label index, std::string name="") |
Begin "Piece" XML section. More... | |
virtual formatter & | endPiece () |
End "Piece" XML section. More... | |
formatter & | DataSet (label index, std::string file="", bool autoName=true) |
Insert a single "DataSet" XML entry tag. More... | |
formatter & | DataSet (label index, std::string file, std::string name) |
Insert a single "DataSet" XML entry tag. More... | |
template<class Type , direction nComp = 1, int nTuple = 0> | |
formatter & | beginDataArray (const word &dataName, uint64_t payLoad=npos, bool leaveOpen=false) |
Begin "DataArray" XML section. More... | |
template<class Type , direction nComp = 1, int nTuple = 0> | |
formatter & | beginDataArray (const vtk::dataArrayAttr &dataName, uint64_t payLoad=npos, bool leaveOpen=false) |
Begin "DataArray" XML section. More... | |
virtual formatter & | endDataArray () |
End "DataArray" XML section. More... | |
template<class Type , direction nComp = 1, int nTuple = 0> | |
formatter & | PDataArray (const word &dataName) |
Insert a single "PDataArray" XML entry tag. More... | |
formatter & | beginFieldData () |
Begin "FieldData" XML section. More... | |
formatter & | beginCellData () |
Begin "CellData" XML section. More... | |
formatter & | beginPointData () |
Begin "PointData" XML section. More... | |
virtual formatter & | endFieldData () |
End "FieldData" XML section. More... | |
virtual formatter & | endCellData () |
End "CellData" XML section. More... | |
virtual formatter & | endPointData () |
End "PointData" XML section. More... | |
formatter & | endAppendedData () |
End "AppendedData" XML section. More... | |
virtual formatter & | endVTKFile () |
End "VTKFile" XML section. More... | |
formatter & | writeTimeValue (scalar timeValue) |
Emit "TimeValue" for FieldData (name as per Catalyst output) More... | |
template<class... Args> | |
formatter & | xmlAttr (const word &k, const std::string &v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const word &k, const int32_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const word &k, const int64_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const word &k, const uint64_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const word &k, const scalar v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const vtk::fileAttr &k, const std::string &v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const vtk::fileAttr &k, const int32_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const vtk::fileAttr &k, const int64_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const vtk::fileAttr &k, const uint64_t v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class... Args> | |
formatter & | xmlAttr (const vtk::fileAttr &k, const scalar v, Args &&... args) |
Pair-wise write of XML key/value attributes. More... | |
template<class Type , direction nComp = 1, int nTuple = 0> | |
formatter & | openDataArray (const word &dataName) |
Open "DataArray" XML tag and leave open (requires a closeTag). More... | |
template<class Type , direction nComp = 1, int nTuple = 0> | |
formatter & | openDataArray (const vtk::dataArrayAttr &dataName) |
Open "DataArray" XML tag and leave open (requires a closeTag). More... | |
template<class... Args> | |
Foam::vtk::formatter & | xmlComment (const std::string &text, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | openTag (const word &tagName, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | openTag (vtk::fileTag t, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | tag (const word &t, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | tag (vtk::fileTag t, Args &&... args) |
template<Foam::vtk::fileTag ContentType> | |
Foam::vtk::formatter & | beginVTKFile (bool leaveOpen) |
template<class Type , Foam::direction nComp, int nTuple> | |
Foam::vtk::formatter & | beginDataArray (const vtk::dataArrayAttr &dataName, uint64_t payLoad, bool leaveOpen) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const word &k, const std::string &v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const word &k, const int32_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const word &k, const int64_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const word &k, const uint64_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const word &k, const scalar v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const vtk::fileAttr &k, const std::string &v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const vtk::fileAttr &k, const int32_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const vtk::fileAttr &k, const int64_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const vtk::fileAttr &k, const uint64_t v, Args &&... args) |
template<class... Args> | |
Foam::vtk::formatter & | xmlAttr (const vtk::fileAttr &k, const scalar v, Args &&... args) |
template<class Type , Foam::direction nComp, int nTuple> | |
Foam::vtk::formatter & | beginDataArray (const word &dataName, uint64_t payLoad, bool leaveOpen) |
template<class Type , Foam::direction nComp, int nTuple> | |
Foam::vtk::formatter & | PDataArray (const word &dataName) |
Static Public Attributes | |
static constexpr uint64_t | npos = uint64_t(-1) |
Out of range position or size. More... | |
Protected Member Functions | |
bool | canWriteAttr (const word &k) const |
Can write XML key/value attribute pair when inside a tag. Emit warning and return false if this condition is not met. More... | |
bool | canWriteToplevel (const char *what) const |
Can write tag-like top-level content (eg, comment, ...) when not already inside a tag. Emit warning and return false if this condition is not met. More... | |
template<class Type > | |
void | writeAttr (const word &k, const Type &v) |
Write XML key/value attribute pair (implementation). More... | |
formatter & | xmlAttr () |
No-op write XML attribute (for templating code). More... | |
void | xmlCommentLoop () |
No-op XML comment loop (for templating code). More... | |
template<class... Args> | |
void | xmlCommentLoop (const std::string &text, Args &&... args) |
Loop/output XML comments. More... | |
bool | openTagImpl (const word &tagName) |
Open XML tag (implementation), checking if not already inside another tag. Emit warning and return false if this condition is not met. More... | |
formatter (std::ostream &os) | |
Construct and attach to an output stream. More... | |
Protected Attributes | |
std::ostream & | os_ |
The output stream for the formatter. More... | |
DynamicList< word > | xmlTags_ |
LIFO stack of current XML tags. More... | |
bool | inTag_ |
Tag open/closed/ended state. More... | |
char | quote_ |
Quoting character for XML attributes. More... | |
Abstract class for a VTK output stream formatter.
Includes simple support for writing XML elements. By default uses single-quoting for XML attributes.
Definition at line 64 of file foamVtkFormatter.H.
typedef uint64_t headerType |
The header data is vtk UInt64.
Definition at line 167 of file foamVtkFormatter.H.
enum quoteChar : char |
Quoting for XML attributes.
Enumerator | |
---|---|
DOUBLE_QUOTE | Double-quote XML attributes. |
SINGLE_QUOTE | Single-quote XML attributes. |
Definition at line 71 of file foamVtkFormatter.H.
|
inlineexplicitprotected |
Construct and attach to an output stream.
Definition at line 52 of file foamVtkFormatterI.H.
|
virtualdefault |
Destructor.
|
protected |
Can write XML key/value attribute pair when inside a tag. Emit warning and return false if this condition is not met.
Definition at line 24 of file foamVtkFormatter.C.
References Foam::endl(), formatter::inTag_, k, and WarningInFunction.
|
protected |
Can write tag-like top-level content (eg, comment, ...) when not already inside a tag. Emit warning and return false if this condition is not met.
Definition at line 36 of file foamVtkFormatter.C.
References Foam::endl(), and WarningInFunction.
|
inlineprotected |
Write XML key/value attribute pair (implementation).
Definition at line 314 of file foamVtkFormatterI.H.
References k.
|
inlineprotected |
No-op write XML attribute (for templating code).
Definition at line 23 of file foamVtkFormatterI.H.
|
inlineprotected |
No-op XML comment loop (for templating code).
Definition at line 29 of file foamVtkFormatterI.H.
|
inlineprotected |
Loop/output XML comments.
Definition at line 35 of file foamVtkFormatterI.H.
References args, Foam::indent(), and Foam::nl.
|
protected |
Open XML tag (implementation), checking if not already inside another tag. Emit warning and return false if this condition is not met.
Definition at line 69 of file foamVtkFormatter.C.
References Foam::endl(), Foam::indent(), and WarningInFunction.
|
inlinenoexcept |
Access to the underlying output stream.
Definition at line 63 of file foamVtkFormatterI.H.
Referenced by Foam::vtk::legacy::beginCellData(), Foam::vtk::legacy::beginPointData(), Foam::vtk::legacy::doubleField(), Foam::vtk::legacy::fieldData(), Foam::vtk::legacy::fileHeader(), Foam::vtk::legacy::floatField(), and Foam::vtk::legacy::intField().
|
pure virtual |
The format-type / output options.
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, appendBase64Formatter, legacyAsciiFormatter, and base64Formatter.
|
pure virtual |
Name for the XML output type or the legacy output type.
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, appendBase64Formatter, legacyAsciiFormatter, and base64Formatter.
|
pure virtual |
Name for the XML append encoding.
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, legacyAsciiFormatter, and foamVtkBase64Layer.
void quoting | ( | const quoteChar | quote | ) |
Change quoting char for XML attributes (default: SINGLE_QUOTE)
Definition at line 51 of file foamVtkFormatter.C.
|
virtual |
Increase the append data offset by numbytes and sizeof(uint64_t).
The additional (uint64_t) size information is consistent with writeSize()
Reimplemented in appendRawFormatter, and appendBase64Formatter.
Definition at line 57 of file foamVtkFormatter.C.
References formatter::npos.
|
virtual |
The encoded length for binary output is pass-through.
Reimplemented in asciiFormatter, and foamVtkBase64Layer.
Definition at line 63 of file foamVtkFormatter.C.
References n.
|
pure virtual |
Write leading size for binary output.
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, and foamVtkBase64Layer.
|
pure virtual |
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, and foamVtkBase64Layer.
Referenced by Foam::vtk::write(), Foam::vtk::writeIdentity(), and Foam::vtk::writeList().
|
pure virtual |
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, and foamVtkBase64Layer.
|
pure virtual |
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, and foamVtkBase64Layer.
|
pure virtual |
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, and foamVtkBase64Layer.
|
pure virtual |
Flush encoding, write newline etc.
Implemented in asciiFormatter, appendRawFormatter, legacyRawFormatter, foamVtkBase64Layer, and base64Formatter.
|
inline |
Add indenting according to the current XML tag depth.
Two spaces per depth.
Definition at line 69 of file foamVtkFormatterI.H.
References Foam::indent().
|
inline |
|
inline |
Write XML header.
Definition at line 84 of file foamVtkFormatterI.H.
References Foam::nl.
|
inline |
Write XML comment (at the current indentation level)
Start an XML tag, optionally with attributes.
|
inline |
Start an XML tag, optionally with attributes.
Foam::vtk::formatter & closeTag | ( | const bool | isEmpty = false | ) |
Finish an XML tag, optional as an empty container.
Always adds a trailing newline.
Definition at line 92 of file foamVtkFormatter.C.
References Foam::endl(), and WarningInFunction.
Foam::vtk::formatter & endTag | ( | const word & | tagName = word::null | ) |
An end XML tag, optional with sanity check.
Always adds a trailing newline.
Definition at line 118 of file foamVtkFormatter.C.
|
inlinevirtual |
An end XML tag with sanity check.
Always adds a trailing newline.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 263 of file foamVtkFormatterI.H.
References Foam::vtk::fileTagNames.
Write XML tag without any attributes. Combines openTag/closeTag.
Referenced by patchMeshWriter::beginPiece().
|
inline |
Write XML tag without any attributes. Combines openTag/closeTag.
Foam::vtk::formatter & beginVTKFile | ( | const word & | contentType, |
const word & | contentVersion, | ||
const bool | leaveOpen = false |
||
) |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself.
leaveOpen | Leave tag open for additional attributes. |
Definition at line 152 of file foamVtkFormatter.C.
|
inline |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself.
leaveOpen | Leave tag open for additional attributes. |
Definition at line 183 of file foamVtkFormatterI.H.
References Foam::vtk::fileTagNames.
|
inline |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself.
leaveOpen | Leave tag open for additional attributes. |
Definition at line 199 of file foamVtkFormatterI.H.
References Foam::vtk::fileContentVersions, and Foam::vtk::fileTagNames.
|
inline |
Add a "VTKFile" XML tag for contentType, followed by a tag for the contentType itself.
leaveOpen | Leave tag open for additional attributes. |
Foam::vtk::formatter & beginAppendedData | ( | ) |
Add a "AppendedData" XML tag with the current encoding and output the requisite '_' prefix.
Definition at line 175 of file foamVtkFormatter.C.
Foam::vtk::formatter & beginBlock | ( | label | index, |
std::string | name = "" |
||
) |
Begin "Block" XML section.
index | The index of the block |
name | The name of the block (ignored if empty) |
Definition at line 195 of file foamVtkFormatter.C.
|
inline |
End "Block" XML section.
Definition at line 293 of file foamVtkFormatterI.H.
References Foam::vtk::BLOCK.
Foam::vtk::formatter & beginPiece | ( | label | index, |
std::string | name = "" |
||
) |
Begin "Piece" XML section.
index | The index of the piece |
name | The name of the piece (ignored if empty) |
Definition at line 216 of file foamVtkFormatter.C.
|
inlinevirtual |
End "Piece" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 299 of file foamVtkFormatterI.H.
References Foam::vtk::PIECE.
Foam::vtk::formatter & DataSet | ( | label | index, |
std::string | file = "" , |
||
bool | autoName = true |
||
) |
Insert a single "DataSet" XML entry tag.
index | The index of the DataSet |
file | The file name for the data (ignored if empty) |
autoName | The name for the data extracted from the file name (without extension) |
Definition at line 237 of file foamVtkFormatter.C.
Foam::vtk::formatter & DataSet | ( | label | index, |
std::string | file, | ||
std::string | name | ||
) |
Insert a single "DataSet" XML entry tag.
index | The index of the DataSet |
file | The file name for the data (ignored if empty) |
name | The name for the dataset |
Definition at line 264 of file foamVtkFormatter.C.
formatter& beginDataArray | ( | const word & | dataName, |
uint64_t | payLoad = npos , |
||
bool | leaveOpen = false |
||
) |
Begin "DataArray" XML section.
dataName | The name of the DataArray |
payLoad | Additional payLoad information to increment the offset for an append formatter and add the "offset" attribute accordingly. |
leaveOpen | Leave tag open for additional attributes. |
|
inline |
Begin "DataArray" XML section.
dataName | The name of the DataArray as an enumeration |
payLoad | Additional payLoad information to increment the offset for an append formatter and add the "offset" attribute accordingly. |
leaveOpen | Leave tag open for additional attributes. |
|
inlinevirtual |
End "DataArray" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 287 of file foamVtkFormatterI.H.
References Foam::vtk::DATA_ARRAY.
Insert a single "PDataArray" XML entry tag.
For some entries, the name is optional.
|
inline |
Begin "FieldData" XML section.
Definition at line 255 of file foamVtkFormatterI.H.
References Foam::vtk::FIELD_DATA.
|
inline |
Begin "CellData" XML section.
Definition at line 243 of file foamVtkFormatterI.H.
References Foam::vtk::CELL_DATA.
|
inline |
Begin "PointData" XML section.
Definition at line 249 of file foamVtkFormatterI.H.
References Foam::vtk::POINT_DATA.
|
inlinevirtual |
End "FieldData" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 281 of file foamVtkFormatterI.H.
References Foam::vtk::FIELD_DATA.
|
inlinevirtual |
End "CellData" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 269 of file foamVtkFormatterI.H.
References Foam::vtk::CELL_DATA.
|
inlinevirtual |
End "PointData" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 275 of file foamVtkFormatterI.H.
References Foam::vtk::POINT_DATA.
Foam::vtk::formatter & endAppendedData | ( | ) |
End "AppendedData" XML section.
Definition at line 186 of file foamVtkFormatter.C.
|
inlinevirtual |
End "VTKFile" XML section.
Reimplemented in legacyRawFormatter, and legacyAsciiFormatter.
Definition at line 305 of file foamVtkFormatterI.H.
References Foam::vtk::VTK_FILE.
Foam::vtk::formatter & writeTimeValue | ( | scalar | timeValue | ) |
Emit "TimeValue" for FieldData (name as per Catalyst output)
Definition at line 290 of file foamVtkFormatter.C.
Pair-wise write of XML key/value attributes.
Pair-wise write of XML key/value attributes.
Pair-wise write of XML key/value attributes.
Pair-wise write of XML key/value attributes.
Pair-wise write of XML key/value attributes.
|
inline |
Pair-wise write of XML key/value attributes.
|
inline |
Pair-wise write of XML key/value attributes.
|
inline |
Pair-wise write of XML key/value attributes.
|
inline |
Pair-wise write of XML key/value attributes.
|
inline |
Pair-wise write of XML key/value attributes.
Open "DataArray" XML tag and leave open (requires a closeTag).
Definition at line 703 of file foamVtkFormatter.H.
References formatter::npos.
|
inline |
Open "DataArray" XML tag and leave open (requires a closeTag).
Definition at line 717 of file foamVtkFormatter.H.
References formatter::npos.
|
inline |
Definition at line 97 of file foamVtkFormatterI.H.
References args, Foam::indent(), and Foam::nl.
|
inline |
Definition at line 129 of file foamVtkFormatterI.H.
References args.
|
inline |
Definition at line 145 of file foamVtkFormatterI.H.
References args, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 156 of file foamVtkFormatterI.H.
References args.
|
inline |
Definition at line 171 of file foamVtkFormatterI.H.
References args, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 214 of file foamVtkFormatterI.H.
References Foam::vtk::fileContentVersions, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 227 of file foamVtkFormatterI.H.
References Foam::vtk::dataArrayAttrNames.
|
inline |
Definition at line 322 of file foamVtkFormatterI.H.
|
inline |
Definition at line 337 of file foamVtkFormatterI.H.
|
inline |
Definition at line 352 of file foamVtkFormatterI.H.
|
inline |
Definition at line 367 of file foamVtkFormatterI.H.
|
inline |
Definition at line 382 of file foamVtkFormatterI.H.
|
inline |
Definition at line 397 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 412 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 427 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 442 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 457 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
Foam::vtk::formatter& beginDataArray | ( | const word & | dataName, |
uint64_t | payLoad, | ||
bool | leaveOpen | ||
) |
Definition at line 26 of file foamVtkFormatterTemplates.C.
References Foam::name().
Foam::vtk::formatter& PDataArray | ( | const word & | dataName | ) |
Definition at line 66 of file foamVtkFormatterTemplates.C.
|
protected |
The output stream for the formatter.
Definition at line 85 of file foamVtkFormatter.H.
|
protected |
LIFO stack of current XML tags.
Definition at line 90 of file foamVtkFormatter.H.
|
mutableprotected |
Tag open/closed/ended state.
Definition at line 95 of file foamVtkFormatter.H.
Referenced by formatter::canWriteAttr().
|
protected |
Quoting character for XML attributes.
Definition at line 100 of file foamVtkFormatter.H.
|
static |
Out of range position or size.
Definition at line 172 of file foamVtkFormatter.H.
Referenced by appendBase64Formatter::offset(), appendRawFormatter::offset(), formatter::offset(), and formatter::openDataArray().