|
|
| xiiOpenDdlWriter () |
| | Constructor.
|
|
void | SetOutputStream (xiiStreamWriter *pOutput) |
| | All output is written to this binary stream.
|
|
void | SetCompactMode (bool bCompact) |
| | Configures how much whitespace is output.
|
|
void | SetPrimitiveTypeStringMode (TypeStringMode mode) |
| | Configures how verbose the type strings are going to be written.
|
|
void | SetFloatPrecisionMode (FloatPrecisionMode mode) |
| | Configures how float values are output.
|
|
FloatPrecisionMode | GetFloatPrecisionMode () const |
| | Returns how float values are output.
|
| void | SetIndentation (xiiInt8 iIndentation) |
|
void | BeginObject (xiiStringView sType, xiiStringView sName={}, bool bGlobalName=false, bool bSingleLine=false) |
| | Begins outputting an object.
|
|
void | EndObject () |
| | Ends outputting an object.
|
|
void | BeginPrimitiveList (xiiOpenDdlPrimitiveType type, xiiStringView sName={}, bool bGlobalName=false) |
| | Begins outputting a list of primitives of the given type.
|
|
void | EndPrimitiveList () |
| | Ends outputting the list of primitives.
|
|
void | WriteBool (const bool *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteInt8 (const xiiInt8 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteInt16 (const xiiInt16 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteInt32 (const xiiInt32 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteInt64 (const xiiInt64 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteUInt8 (const xiiUInt8 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteUInt16 (const xiiUInt16 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteUInt32 (const xiiUInt32 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteUInt64 (const xiiUInt64 *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteFloat (const float *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteDouble (const double *pValues, xiiUInt32 uiCount=1) |
| | Writes a number of values to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
|
void | WriteString (const xiiStringView &sString) |
| | Writes a single string to the primitive list. Can be called multiple times between BeginPrimitiveList() / EndPrimitiveList().
|
| void | WriteBinaryAsString (const void *pData, xiiUInt32 uiBytes) |
| | Writes a single string to the primitive list, but the value is a HEX representation of the given binary data.
|
|
|
XII_ALWAYS_INLINE void | OutputString (xiiStringView s) |
|
XII_ALWAYS_INLINE void | OutputString (xiiStringView s, xiiUInt32 uiElementCount) |
|
void | OutputEscapedString (const xiiStringView &string) |
| | Copyright (c) Theophilus Eriata. All Rights Reserved.
|
|
void | OutputIndentation () |
|
void | OutputPrimitiveTypeNameCompliant (xiiOpenDdlPrimitiveType type) |
|
void | OutputPrimitiveTypeNameShort (xiiOpenDdlPrimitiveType type) |
|
void | OutputPrimitiveTypeNameShortest (xiiOpenDdlPrimitiveType type) |
|
void | WritePrimitiveType (xiiOpenDdlWriter::State exp) |
| void | OutputObjectName (xiiStringView sName, bool bGlobalName) |
|
void | WriteBinaryAsHex (const void *pData, xiiUInt32 uiBytes) |
|
void | OutputObjectBeginning () |
Copyright (c) Theophilus Eriata. All Rights Reserved.
The base class for OpenDDL writers.
Declares a common interface for writing OpenDDL files.