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

#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 EntryArrayentries () const
 Returns the parsed entries. More...
 
exint size () const
 Returns the size of the query. More...
 
const UT_StringHolderquery () const
 Returns the raw query string. More...
 

Detailed Description

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 21 of file PDG_AttributeQuery.h.

Member Typedef Documentation

Constructor & Destructor Documentation

PDG_AttributeQuery::PDG_AttributeQuery ( )

Constructs an empty query, which can be initialized later from a string

PDG_AttributeQuery::PDG_AttributeQuery ( const char *  query_string)
explicit

Constructs a new query from an input string in the form first.second.3.third... etc

Member Function Documentation

const EntryArray& PDG_AttributeQuery::entries ( ) const
inline

Returns the parsed entries.

Definition at line 48 of file PDG_AttributeQuery.h.

void PDG_AttributeQuery::initialize ( const char *  query_string)

Builds a query from the specified string.

const UT_StringHolder& PDG_AttributeQuery::query ( ) const
inline

Returns the raw query string.

Definition at line 56 of file PDG_AttributeQuery.h.

exint PDG_AttributeQuery::size ( void  ) const
inline

Returns the size of the query.

Definition at line 52 of file PDG_AttributeQuery.h.


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