MaterialX 1.38.2
Public Attributes | List of all members
XmlReadOptions Class Reference

A set of options for controlling the behavior of XML read functions. More...

#include <XmlIo.h>

Public Attributes

XmlReadFunction readXIncludeFunction
 If provided, this function will be invoked when an XInclude reference needs to be read into a document. More...
 
bool readComments
 If true, then XML comments will be read into documents as comment elements. More...
 
StringVec parentXIncludes
 The vector of parent XIncludes at the scope of the current document. More...
 

Detailed Description

A set of options for controlling the behavior of XML read functions.

Member Data Documentation

◆ parentXIncludes

StringVec parentXIncludes

The vector of parent XIncludes at the scope of the current document.

Defaults to an empty vector.

◆ readComments

bool readComments

If true, then XML comments will be read into documents as comment elements.

Defaults to false.

◆ readXIncludeFunction

XmlReadFunction readXIncludeFunction

If provided, this function will be invoked when an XInclude reference needs to be read into a document.

Defaults to readFromXmlFile.


The documentation for this class was generated from the following files: