MaterialX  1.36.1
Public Attributes | List of all members
MaterialX::XmlReadOptions Class Reference

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

#include <XmlIo.h>

Inheritance diagram for MaterialX::XmlReadOptions:
MaterialX::CopyOptions

Public Attributes

XmlReadFunction readXIncludeFunction
 If provided, this function will be invoked when an XInclude reference needs to be read into a document. More...
 
std::set< string > parentFilenames
 The set of parent filenames at the scope of the current document. More...
 
- Public Attributes inherited from MaterialX::CopyOptions
bool skipDuplicateElements
 If true, elements at the same scope with duplicate names will be skipped; otherwise, they will trigger an exception. More...
 

Detailed Description

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

Member Data Documentation

◆ parentFilenames

std::set<string> MaterialX::XmlReadOptions::parentFilenames

The set of parent filenames at the scope of the current document.

Defaults to an empty set.

◆ readXIncludeFunction

XmlReadFunction MaterialX::XmlReadOptions::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: