HDK
|
An expression to match tags (i.e. "* & ^fill") More...
#include <UT_TagManager.h>
Public Types | |
using | SubExpressionList = UT_Array< UT_IntArray > |
Friends | |
class | UT_TagManager |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< UT_TagExpression > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
An expression to match tags (i.e. "* & ^fill")
Definition at line 106 of file UT_TagManager.h.
Definition at line 160 of file UT_TagManager.h.
UT_TagExpression::UT_TagExpression | ( | UT_TagManager & | manager | ) |
UT_TagExpression::~UT_TagExpression | ( | ) |
UT_TagExpression* UT_TagExpression::addTags | ( | const UT_TagList & | list | ) | const |
Allocate a new expression with the appropriate edits (expr) -> A|(expr). However, we can also simplify some components of expression. For example, (A|-A) -> * (Complementary Law)
bool UT_TagExpression::compare | ( | const UT_TagExpression & | expr | ) | const |
void UT_TagExpression::getExpressionString | ( | UT_WorkBuffer & | buffer | ) | const |
|
inline |
Get the tag manager
Definition at line 137 of file UT_TagManager.h.
|
inline |
Get the tag manager
Definition at line 138 of file UT_TagManager.h.
|
inline |
Definition at line 162 of file UT_TagManager.h.
uint UT_TagExpression::hash | ( | ) | const |
bool UT_TagExpression::isTautology | ( | ) | const |
bool UT_TagExpression::match | ( | const UT_TagList & | list | ) | const |
void UT_TagExpression::matchAllNames | ( | UT_Array< const char * > & | matching, |
UT_Array< const char * > & | failing, | ||
bool & | outmatch | ||
) |
Determine whether any known names match. The matching names will be returned in 'matching' and names that don't match are put in 'failing'. 'outmatch' will be set to true when unknown names will produce a match.
|
inline |
Definition at line 144 of file UT_TagManager.h.
|
inline |
Definition at line 142 of file UT_TagManager.h.
UT_TagExpression* UT_TagExpression::rmTags | ( | const UT_TagList & | list | ) | const |
(expr) -> -A & (expr). Since | has a greater precedence, we need to expand using distributive property. Some components of the expression can be simplified (i.e. -A & A -> -*).
|
friend |
Definition at line 199 of file UT_TagManager.h.