Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCQueryParseNode.html below:
NCBI C++ ToolKit: CQueryParseNode Class Reference
Public Member Functions CQueryParseNode (const string &value, const string &orig_text, bool isIdent) Construct the query node. More...
CQueryParseNode (Int8 val, const string &orig_text) CQueryParseNode (bool val, const string &orig_text) CQueryParseNode (double val, const string &orig_text) CQueryParseNode (EType op_type, const string &orig_text) bool IsExplicit () const TRUE if node was created as explicitly FALSE - node was created as a result of a default and the interpreter has a degree of freedom in execution. More...
void SetExplicit (bool expl=true) bool IsNot () const Check if node is marked with NOT flag (like != ) More...
void SetNot (bool n=true) bool IsLogic () const Returns TRUE if node describes logical operation (AND, OR, etc.) More...
bool IsValue () const Returns TRUE if node is value (INT, String, etc.) More...
double Elapsed () const Elapsed time in seconds. More...
double GetElapsed () const Elapsed time in seconds. More...
void SetElapsed (double e) Set node timing. More...
string GetNodeTypeAsString () const Return query node type as a string (for debugging output) More...
Source reference accessors
void SetLoc (const SSrcLoc &loc) Set node location in the query text (for error diagnostics) More...
void SetLoc (unsigned line, unsigned pos) const SSrcLoc & GetLoc () const
Value accessors
EType GetType () const const string & GetStrValue () const const string & GetIdent () const const string & GetOriginalText () const Int8 GetInt () const bool GetBool () const double GetDouble () const int GetIdentIdx () const const string & GetOrig () const
User object operations
Methods to associate application specific data with parsing tree node.
Data should be encapsulated into a user object derived from CQueryParseBaseUserObject.
const IQueryParseUserObject * GetUserObject () const Get user object. More...
IQueryParseUserObject * GetUserObject () void AttachUserObject (IQueryParseUserObject *obj) Set user object. Query node takes ownership. More...
void SetUserObject (IQueryParseUserObject *obj) void ResetUserObject () Reset the associated user object (see IQueryParseUserObject::Reset()) More...
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4