|
HDK
|
#include <PDG_AttributeQuery.h>
Classes | |
| struct | Entry |
Public Types | |
| using | EntryArray = UT_Array< Entry > |
Public Member Functions | |
| PDG_AttributeQuery () | |
| PDG_AttributeQuery (const char *query_string) | |
| void | initialize (const char *query_string) |
| Builds a query from the specified string. More... | |
| const EntryArray & | entries () const |
| Returns the parsed entries. More... | |
| exint | size () const |
| Returns the size of the query. More... | |
| const UT_StringHolder & | query () const |
| Returns the raw query string. More... | |
| UT_StringHolder | queryIndex (exint index) const |
| Returns the query string up to the specified index. More... | |
Stores a list of parsed attribute query tokens, to speed up evaluation when matching the same query across multiple parm expression evaluations
Definition at line 23 of file PDG_AttributeQuery.h.
| using PDG_AttributeQuery::EntryArray = UT_Array<Entry> |
Definition at line 35 of file PDG_AttributeQuery.h.
| PDG_AttributeQuery::PDG_AttributeQuery | ( | ) |
Constructs an empty query, which can be initialized later from a string
|
explicit |
Constructs a new query from an input string in the form first.second.3.third... etc
|
inline |
Returns the parsed entries.
Definition at line 50 of file PDG_AttributeQuery.h.
| void PDG_AttributeQuery::initialize | ( | const char * | query_string | ) |
Builds a query from the specified string.
|
inline |
Returns the raw query string.
Definition at line 58 of file PDG_AttributeQuery.h.
| UT_StringHolder PDG_AttributeQuery::queryIndex | ( | exint | index | ) | const |
Returns the query string up to the specified index.
Returns the size of the query.
Definition at line 54 of file PDG_AttributeQuery.h.