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 142 of file variableExpression.h.

Member Data Documentation

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

Errors encountered while evaluating the expression.

Definition at line 155 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 165 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.

If the value is not empty, it will contain one of the supported types listed in the class documentation.

Definition at line 152 of file variableExpression.h.


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