MaterialX 1.39.1
|
A set of options for controlling the behavior of XML read functions. More...
#include <XmlIo.h>
Public Attributes | |
bool | readComments |
If true, then XML comments will be read into documents as comment elements. More... | |
bool | readNewlines |
If true, then XML newlines will be read into documents as newline elements. More... | |
bool | upgradeVersion |
If true, then documents from earlier versions of MaterialX will be upgraded to the current version. More... | |
XmlReadFunction | readXIncludeFunction |
If provided, this function will be invoked when an XInclude reference needs to be read into a document. More... | |
StringVec | parentXIncludes |
The vector of parent XIncludes at the scope of the current document. More... | |
A set of options for controlling the behavior of XML read functions.
StringVec parentXIncludes |
The vector of parent XIncludes at the scope of the current document.
Defaults to an empty vector.
bool readComments |
If true, then XML comments will be read into documents as comment elements.
Defaults to false.
bool readNewlines |
If true, then XML newlines will be read into documents as newline elements.
Defaults to false.
XmlReadFunction readXIncludeFunction |
If provided, this function will be invoked when an XInclude reference needs to be read into a document.
Defaults to readFromXmlFile.
bool upgradeVersion |
If true, then documents from earlier versions of MaterialX will be upgraded to the current version.
Defaults to true.