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) |
formatter & | beginVTKFile (vtk::fileTag contentType, const word &contentVersion, const bool leaveOpen=false) |
formatter & | beginVTKFile (vtk::fileTag contentType, const bool leaveOpen=false) |
template<vtk::fileTag ContentType> | |
formatter & | beginVTKFile (bool leaveOpen=false) |
formatter & | beginAppendedData () |
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 |
bool | canWriteToplevel (const char *what) const |
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) |
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 68 of file foamVtkFormatter.H.
typedef uint64_t headerType |
The header data is vtk UInt64.
Definition at line 142 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 73 of file foamVtkFormatter.H.
|
inlineexplicitprotected |
Construct and attach to an output stream.
Definition at line 59 of file foamVtkFormatterI.H.
|
virtualdefault |
Destructor.
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 31 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 43 of file foamVtkFormatter.C.
References Foam::endl(), and WarningInFunction.
|
inlineprotected |
Write XML key/value attribute pair (implementation).
Definition at line 321 of file foamVtkFormatterI.H.
References k.
|
inlineprotected |
No-op write XML attribute (for templating code).
Definition at line 30 of file foamVtkFormatterI.H.
Referenced by formatter::beginDataArray().
|
inlineprotected |
No-op XML comment loop (for templating code).
Definition at line 36 of file foamVtkFormatterI.H.
|
inlineprotected |
Loop/output XML comments.
Definition at line 41 of file foamVtkFormatterI.H.
References args, Foam::indent(), and Foam::nl.
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 76 of file foamVtkFormatter.C.
References Foam::endl(), Foam::indent(), and WarningInFunction.
|
inlinenoexcept |
Access to the underlying output stream.
Definition at line 70 of file foamVtkFormatterI.H.
Referenced by asciiFormatter::asciiFormatter(), Foam::vtk::legacy::beginCellData(), Foam::vtk::legacy::beginPointData(), Foam::vtk::legacy::doubleField(), Foam::vtk::legacy::fieldData(), Foam::vtk::legacy::fileHeader(), Foam::vtk::legacy::floatField(), Foam::vtk::legacy::intField(), appendRawFormatter::write(), and legacyRawFormatter::write().
|
pure virtual |
The format-type / output options.
Implemented in appendBase64Formatter, appendRawFormatter, asciiFormatter, base64Formatter, legacyAsciiFormatter, and legacyRawFormatter.
|
pure virtual |
Name for the XML output type or the legacy output type.
Implemented in appendBase64Formatter, appendRawFormatter, asciiFormatter, base64Formatter, legacyAsciiFormatter, and legacyRawFormatter.
Referenced by formatter::beginDataArray().
|
pure virtual |
Name for the XML append encoding.
Implemented in appendRawFormatter, asciiFormatter, foamVtkBase64Layer, legacyAsciiFormatter, and legacyRawFormatter.
void quoting | ( | const quoteChar | quote | ) |
Change quoting char for XML attributes (default: SINGLE_QUOTE)
Definition at line 58 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 appendBase64Formatter, and appendRawFormatter.
Definition at line 64 of file foamVtkFormatter.C.
References formatter::npos.
Referenced by formatter::beginDataArray().
|
virtual |
The encoded length for binary output is pass-through.
Reimplemented in asciiFormatter, and foamVtkBase64Layer.
Definition at line 70 of file foamVtkFormatter.C.
References n.
|
pure virtual |
Write leading size for binary output.
Implemented in asciiFormatter, legacyRawFormatter, appendRawFormatter, and foamVtkBase64Layer.
Referenced by fileWriter::beginDataArray().
|
pure virtual |
Implemented in appendRawFormatter, asciiFormatter, foamVtkBase64Layer, and legacyRawFormatter.
Referenced by Foam::vtk::write(), Foam::vtk::write< double >(), Foam::vtk::write< float >(), Foam::vtk::write< label >(), Foam::vtk::writeIdentity(), Foam::vtk::writeList(), and Foam::vtk::legacy::writeTimeValue().
|
pure virtual |
Implemented in appendRawFormatter, asciiFormatter, foamVtkBase64Layer, and legacyRawFormatter.
|
pure virtual |
Implemented in appendRawFormatter, asciiFormatter, foamVtkBase64Layer, and legacyRawFormatter.
|
pure virtual |
Implemented in appendRawFormatter, asciiFormatter, foamVtkBase64Layer, and legacyRawFormatter.
|
pure virtual |
Flush encoding, write newline etc.
Implemented in appendRawFormatter, asciiFormatter, base64Formatter, foamVtkBase64Layer, and legacyRawFormatter.
Referenced by Foam::vtk::legacy::writeTimeValue().
|
inline |
Add indenting according to the current XML tag depth.
Two spaces per depth.
Definition at line 76 of file foamVtkFormatterI.H.
References Foam::indent().
|
inline |
|
inline |
Write XML header.
Definition at line 91 of file foamVtkFormatterI.H.
References Foam::nl.
|
inline |
Write XML comment (at the current indentation level)
Start an XML tag, optionally with attributes.
Referenced by formatter::beginDataArray().
|
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 99 of file foamVtkFormatter.C.
References Foam::endl(), and WarningInFunction.
Referenced by formatter::beginDataArray().
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 125 of file foamVtkFormatter.C.
|
inlinevirtual |
An end XML tag with sanity check.
Always adds a trailing newline.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 270 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 157 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 189 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 205 of file foamVtkFormatterI.H.
References Foam::vtk::fileContentVersions, and Foam::vtk::fileTagNames.
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 181 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 200 of file foamVtkFormatter.C.
|
inline |
End "Block" XML section.
Definition at line 300 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 221 of file foamVtkFormatter.C.
|
inlinevirtual |
End "Piece" XML section.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 306 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 242 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 269 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. |
Referenced by fileWriter::beginDataArray().
|
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 legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 294 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 262 of file foamVtkFormatterI.H.
References Foam::vtk::FIELD_DATA.
|
inline |
Begin "CellData" XML section.
Definition at line 250 of file foamVtkFormatterI.H.
References Foam::vtk::CELL_DATA.
|
inline |
Begin "PointData" XML section.
Definition at line 256 of file foamVtkFormatterI.H.
References Foam::vtk::POINT_DATA.
|
inlinevirtual |
End "FieldData" XML section.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 288 of file foamVtkFormatterI.H.
References Foam::vtk::FIELD_DATA.
|
inlinevirtual |
End "CellData" XML section.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 276 of file foamVtkFormatterI.H.
References Foam::vtk::CELL_DATA.
|
inlinevirtual |
End "PointData" XML section.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 282 of file foamVtkFormatterI.H.
References Foam::vtk::POINT_DATA.
Foam::vtk::formatter & endAppendedData | ( | ) |
End "AppendedData" XML section.
Definition at line 192 of file foamVtkFormatter.C.
|
inlinevirtual |
End "VTKFile" XML section.
Reimplemented in legacyAsciiFormatter, and legacyRawFormatter.
Definition at line 312 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 296 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 524 of file foamVtkFormatter.H.
References formatter::npos.
|
inline |
Open "DataArray" XML tag and leave open (requires a closeTag).
Definition at line 535 of file foamVtkFormatter.H.
References formatter::npos.
|
inline |
Definition at line 103 of file foamVtkFormatterI.H.
References args, Foam::indent(), and Foam::nl.
|
inline |
Definition at line 135 of file foamVtkFormatterI.H.
References args.
|
inline |
Definition at line 151 of file foamVtkFormatterI.H.
References args, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 162 of file foamVtkFormatterI.H.
References args.
|
inline |
Definition at line 177 of file foamVtkFormatterI.H.
References args, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 221 of file foamVtkFormatterI.H.
References Foam::vtk::fileContentVersions, and Foam::vtk::fileTagNames.
|
inline |
Definition at line 233 of file foamVtkFormatterI.H.
References Foam::vtk::dataArrayAttrNames.
|
inline |
Definition at line 328 of file foamVtkFormatterI.H.
|
inline |
Definition at line 343 of file foamVtkFormatterI.H.
|
inline |
Definition at line 358 of file foamVtkFormatterI.H.
|
inline |
Definition at line 373 of file foamVtkFormatterI.H.
|
inline |
Definition at line 388 of file foamVtkFormatterI.H.
|
inline |
Definition at line 403 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 418 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 433 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 448 of file foamVtkFormatterI.H.
References args, Foam::vtk::fileAttrNames, and k.
|
inline |
Definition at line 463 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 32 of file foamVtkFormatterTemplates.C.
References formatter::closeTag(), Foam::vtk::DATA_ARRAY, formatter::name(), formatter::npos, Foam::vtk::NUMBER_OF_COMPONENTS, Foam::vtk::NUMBER_OF_TUPLES, formatter::offset(), formatter::openTag(), and formatter::xmlAttr().
Foam::vtk::formatter & PDataArray | ( | const word & | dataName | ) |
Definition at line 72 of file foamVtkFormatterTemplates.C.
References Foam::vtk::NUMBER_OF_COMPONENTS, and Foam::vtk::NUMBER_OF_TUPLES.
|
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 88 of file foamVtkFormatter.H.
|
mutableprotected |
Tag open/closed/ended state.
Definition at line 91 of file foamVtkFormatter.H.
Referenced by formatter::canWriteAttr().
|
protected |
Quoting character for XML attributes.
Definition at line 94 of file foamVtkFormatter.H.
|
staticconstexpr |
Out of range position or size.
Definition at line 145 of file foamVtkFormatter.H.
Referenced by formatter::beginDataArray(), dictionary::csearchScoped(), AC3DsurfaceFormatCore::cueTo(), removeEntry::execute(), entry::New(), appendBase64Formatter::offset(), appendRawFormatter::offset(), formatter::offset(), formatter::openDataArray(), Reaction< ThermoType >::Reaction(), ensightSurfaceReader::readCase(), AC3DsurfaceFormatCore::readCmd(), Foam::readObjVertices(), objectRegistry::rename(), fieldSelection::resetFieldFilters(), seriesWriter::scan(), and fileOperation::splitProcessorPath().