![]() |
MaterialX 1.39.4
|
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. | |
| bool | readNewlines |
| If true, then XML newlines will be read into documents as newline elements. | |
| bool | upgradeVersion |
| If true, then documents from earlier versions of MaterialX will be upgraded to the current version. | |
| XmlReadFunction | readXIncludeFunction |
| If provided, this function will be invoked when an XInclude reference needs to be read into a document. | |
| StringVec | parentXIncludes |
| The vector of parent XIncludes at the scope of the current document. | |
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.