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

#include <pathExpressionEval.h>

Classes

struct  _Component
 
struct  _Segment
 

Protected Types

enum  _ComponentType { ExplicitName, Regex }
 
enum  : uint8_t { _MatchPrimOrProp, _MatchPrimOnly, _MatchPropOnly }
 
using _RunNthPredFn = TfFunctionRef< SdfPredicateFunctionResult(int, SdfPath const &)>
 

Protected Member Functions

SDF_API void _Init (SdfPathExpression::PathPattern const &pattern, TfFunctionRef< int(SdfPredicateExpression const &)> linkPredicate)
 
SDF_API SdfPredicateFunctionResult _Match (SdfPath const &path, _RunNthPredFn runNthPredicate) const
 
SDF_API SdfPredicateFunctionResult _Next (_PatternIncrSearchState &searchState, SdfPath const &path, _RunNthPredFn runNthPredicate) const
 
bool _IsBarePredicate (_Component const &comp) const
 
size_t _SegmentMinMatchElts (_Segment const &seg) const
 
SDF_API SdfPredicateFunctionResult _CheckExactMatch (_Segment const &seg, _RunNthPredFn runNthPredicate, SdfPathVector::const_iterator pathIterEnd, SdfPathVector::const_iterator &pathIterInOut) const
 
SDF_API SdfPredicateFunctionResult _CheckMatch (_Segment const &seg, _RunNthPredFn runNthPredicate, SdfPathVector::const_iterator pathIterBegin, SdfPathVector::const_iterator pathIterEnd, SdfPathVector::const_iterator &pathIterInOut) const
 

Protected Attributes

SdfPath _prefix
 
std::vector< _Component_components
 
std::vector< _Segment_segments
 
std::vector< std::string > _explicitNames
 
std::vector< ArchRegex_regexes
 
bool _stretchBegin
 
bool _stretchEnd
 
enum
Sdf_PathExpressionEvalBase::_PatternImplBase:: { ... }  
_matchObjType
 

Detailed Description

Definition at line 77 of file pathExpressionEval.h.

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum : uint8_t
protected
Enumerator
_MatchPrimOrProp 
_MatchPrimOnly 
_MatchPropOnly 

Definition at line 172 of file pathExpressionEval.h.

Enumerator
ExplicitName 
Regex 

Definition at line 100 of file pathExpressionEval.h.

Member Function Documentation

SDF_API SdfPredicateFunctionResult Sdf_PathExpressionEvalBase::_PatternImplBase::_CheckExactMatch ( _Segment const &  seg,
_RunNthPredFn  runNthPredicate,
SdfPathVector::const_iterator  pathIterEnd,
SdfPathVector::const_iterator &  pathIterInOut 
) const
protected
SDF_API SdfPredicateFunctionResult Sdf_PathExpressionEvalBase::_PatternImplBase::_CheckMatch ( _Segment const &  seg,
_RunNthPredFn  runNthPredicate,
SdfPathVector::const_iterator  pathIterBegin,
SdfPathVector::const_iterator  pathIterEnd,
SdfPathVector::const_iterator &  pathIterInOut 
) const
protected
SDF_API void Sdf_PathExpressionEvalBase::_PatternImplBase::_Init ( SdfPathExpression::PathPattern const &  pattern,
TfFunctionRef< int(SdfPredicateExpression const &)>  linkPredicate 
)
protected
bool Sdf_PathExpressionEvalBase::_PatternImplBase::_IsBarePredicate ( _Component const &  comp) const
inlineprotected

Definition at line 120 of file pathExpressionEval.h.

SDF_API SdfPredicateFunctionResult Sdf_PathExpressionEvalBase::_PatternImplBase::_Match ( SdfPath const &  path,
_RunNthPredFn  runNthPredicate 
) const
protected
SDF_API SdfPredicateFunctionResult Sdf_PathExpressionEvalBase::_PatternImplBase::_Next ( _PatternIncrSearchState searchState,
SdfPath const &  path,
_RunNthPredFn  runNthPredicate 
) const
protected
size_t Sdf_PathExpressionEvalBase::_PatternImplBase::_SegmentMinMatchElts ( _Segment const &  seg) const
inlineprotected

Definition at line 128 of file pathExpressionEval.h.

Member Data Documentation

std::vector<_Component> Sdf_PathExpressionEvalBase::_PatternImplBase::_components
protected

Definition at line 165 of file pathExpressionEval.h.

std::vector<std::string> Sdf_PathExpressionEvalBase::_PatternImplBase::_explicitNames
protected

Definition at line 167 of file pathExpressionEval.h.

enum { ... } Sdf_PathExpressionEvalBase::_PatternImplBase::_matchObjType
SdfPath Sdf_PathExpressionEvalBase::_PatternImplBase::_prefix
protected

Definition at line 164 of file pathExpressionEval.h.

std::vector<ArchRegex> Sdf_PathExpressionEvalBase::_PatternImplBase::_regexes
protected

Definition at line 168 of file pathExpressionEval.h.

std::vector<_Segment> Sdf_PathExpressionEvalBase::_PatternImplBase::_segments
protected

Definition at line 166 of file pathExpressionEval.h.

bool Sdf_PathExpressionEvalBase::_PatternImplBase::_stretchBegin
protected

Definition at line 170 of file pathExpressionEval.h.

bool Sdf_PathExpressionEvalBase::_PatternImplBase::_stretchEnd
protected

Definition at line 171 of file pathExpressionEval.h.


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