#include <TreeResolver.hpp>
Collaboration diagram for Ionflux::Tools::TreeResolver:
Public Member Functions | |
TreeResolver () | |
Constructor. | |
virtual | ~TreeResolver () |
Destructor. | |
Static Public Member Functions | |
static bool | parseTreePath (const std::string &treePathExpr, std::vector< NodeReference > &nodeRefs) |
Parse a tree path. | |
static bool | createTreePath (Tree *tree, std::vector< NodeReference > &nodeRefs, TreePath &treePath, bool createPath, bool nodesOnly=false) |
Create tree path. | |
Static Public Attributes | |
static const TokenType | TT_RES_OPERATOR |
Token type: Resolution operator. | |
static const TokenType | TT_SUB_LEFT |
Token type: Subscript left. | |
static const TokenType | TT_SUB_RIGHT |
Token type: Subscript right. | |
static const TokenType | TT_RES_PAR_LEFT |
Token type: Reference parenthesis (left). | |
static const TokenType | TT_RES_PAR_RIGHT |
Token type: Reference parenthesis (right). |
Resolves a fully qualified tree path. (See misc/path-resolution.txt
, Template Engine and Configuration file I/O for additional information.)
|
Constructor. Construct new TreeResolver object. |
|
Destructor. Destruct TreeResolver object. |
|
Create tree path.
Creates a tree path from a tree and a set of node references. Pass
|
|
Parse a tree path. Parses a tree path into node references.
|
|
Initial value: { TokenType::USERTYPE_ID + 1, ".", false, 1}
|
|
Initial value: { TokenType::USERTYPE_ID + 4, "(", false, 1}
|
|
Initial value: { TokenType::USERTYPE_ID + 5, ")", false, 1}
|
|
Initial value: { TokenType::USERTYPE_ID + 2, "[", false, 1}
|
|
Initial value: { TokenType::USERTYPE_ID + 3, "]", false, 1}
|