|
A component represents a pattern matching component past the initial SdfPath prefix. More...
#include <pathExpression.h>
Public Member Functions | |
bool | IsStretch () const |
Public Attributes | |
std::string | text |
int | predicateIndex = -1 |
bool | isLiteral = false |
Friends | |
bool | operator== (Component const &l, Component const &r) |
bool | operator!= (Component const &l, Component const &r) |
template<class HashState > | |
void | TfHashAppend (HashState &h, Component const &c) |
void | swap (Component &l, Component &r) |
A component represents a pattern matching component past the initial SdfPath prefix.
A component's text can contain wildcard characters, and if the component references a predicate expression, its predicateIndex indicates which one in the owning PathPattern's list of expressions. A component whose text is empty represents an "arbitrary levels of hierarchy" element (the //) in a path pattern.
Definition at line 102 of file pathExpression.h.
|
inline |
Definition at line 103 of file pathExpression.h.
Definition at line 116 of file pathExpression.h.
Definition at line 111 of file pathExpression.h.
Definition at line 125 of file pathExpression.h.
|
friend |
Definition at line 121 of file pathExpression.h.
bool isLiteral = false |
Definition at line 109 of file pathExpression.h.
int predicateIndex = -1 |
Definition at line 108 of file pathExpression.h.
std::string text |
Definition at line 107 of file pathExpression.h.