HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pathExpressionEval.h File Reference
#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>
+ Include dependency graph for pathExpressionEval.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SdfPathExpressionEval< DomainType >
 
class  Sdf_PathExpressionEvalBase
 
class  Sdf_PathExpressionEvalBase::_PatternIncrSearchState
 
class  Sdf_PathExpressionEvalBase::_PatternImplBase
 
struct  Sdf_PathExpressionEvalBase::_PatternImplBase::_Component
 
struct  Sdf_PathExpressionEvalBase::_PatternImplBase::_Segment
 
class  SdfPathExpressionEval< DomainType >
 
class  SdfPathExpressionEval< DomainType >::IncrementalSearcher< ObjectToPath, PathToObject >
 

Functions

template<class DomainType >
SdfPathExpressionEval< DomainType > SdfMakePathExpressionEval (SdfPathExpression const &expr, SdfPredicateLibrary< DomainType > const &lib)
 

Function Documentation

template<class DomainType >
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.