HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfVariableExpression::Result Class Reference

#include <variableExpression.h>

Public Attributes

VtValue value
 
std::vector< std::stringerrors
 Errors encountered while evaluating the expression. More...
 
std::unordered_set< std::stringusedVariables
 

Detailed Description

Definition at line 126 of file variableExpression.h.

Member Data Documentation

std::vector<std::string> SdfVariableExpression::Result::errors

Errors encountered while evaluating the expression.

Definition at line 136 of file variableExpression.h.

std::unordered_set<std::string> SdfVariableExpression::Result::usedVariables

Set of variables that were used while evaluating the expression. For example, for an expression like "example_${VAR}_expression", this set will contain "VAR".

This set will also contain variables from subexpressions. In the above example, if the value of "VAR" was another expression like "sub_${SUBVAR}_expression", this set will contain both "VAR" and "SUBVAR".

Definition at line 146 of file variableExpression.h.

VtValue SdfVariableExpression::Result::value

The result of evaluating the expression. This value may be empty if the expression yielded no value. It may also be empty if errors occurred during evaluation. In this case, the errors field will be populated with error messages.

Definition at line 133 of file variableExpression.h.


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