HDK
|
#include "pxr/pxr.h"
#include "pxr/usd/sdf/api.h"
#include "pxr/usd/sdf/path.h"
#include "pxr/usd/sdf/pathExpression.h"
#include "pxr/usd/sdf/predicateExpression.h"
#include "pxr/usd/sdf/predicateLibrary.h"
#include "pxr/usd/sdf/predicateProgram.h"
#include "pxr/base/arch/regex.h"
#include "pxr/base/tf/functionRef.h"
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Functions | |
template<class DomainType > | |
SdfPathExpressionEval< DomainType > | SdfMakePathExpressionEval (SdfPathExpression const &expr, SdfPredicateLibrary< DomainType > const &lib) |
SdfPathExpressionEval< DomainType > SdfMakePathExpressionEval | ( | SdfPathExpression const & | expr, |
SdfPredicateLibrary< DomainType > const & | lib | ||
) |
Create an SdfPathExpressionEval object that can evaluate the complete SdfPathExpression expr
on DomainType instances, using lib
, an SdfPredicateLibrary<DomainType> to evaluate any embedded predicates.
Note that expr
must be "complete", meaning that SdfPathExpression::IsComplete() must return true. If an evaluator cannot succesfully be made, possibly because the passed is not complete, or if any embedded SdfPredicateExpression s cannot be successfully linked with lib
, or another reason, issue an error and return the empty SdfPathExpressionEval object. See SdfPathExpressionEval::IsEmpty().
Definition at line 366 of file pathExpressionEval.h.