Go to the SVN repository for this file.
63 i+= (
int)s.length();
64 for( ;
i< 40;
i++) {
67 if(qnode.
IsNot()) {
77 for( ;
i< 55;
i++) {
165 if(qnode.
IsNot()) {
212 TNode& qtree_nc =
const_cast<TNode&
>(*qtree);
The main tree printing functor class.
CQueryTreePrintFunc(CNcbiOstream &os)
ETreeTraverseCode operator()(const CTreeNode< CQueryParseNode > &tr, int delta)
void PrintElement(const string &s, const CQueryParseNode &qnode)
definition of a Culling tree
Base class for query node user defined object.
const string & GetOrig() const
const IQueryParseUserObject * GetUserObject() const
Get user object.
bool IsNot() const
Check if node is marked with NOT flag (like != )
unsigned pos
Position in the src line.
const TNode * GetQueryTree() const
void Print(CNcbiOstream &os) const
Print the query tree (debugging)
unsigned line
Src line number.
bool IsExplicit() const
TRUE if node was created as explicitly FALSE - node was created as a result of a default and the inte...
const string & GetStrValue() const
const SSrcLoc & GetLoc() const
virtual string GetVisibleValue() const
String value for debuging.
@ eIdentifier
Identifier like db.field (Org, Fld12, etc.)
@ eFloatConst
Floating point const.
@ eIntConst
Integer const.
@ eBoolConst
Boolean (TRUE or FALSE)
@ eString
String ("free text")
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static string Int8ToString(Int8 value, TNumToStringFlags flags=0, int base=10)
Convert Int8 to string.
static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)
Convert double to string.
static const string BoolToString(bool value)
Convert bool to string.
Fun TreeDepthFirstTraverse(TTreeNode &tree_node, Fun func)
Depth-first tree traversal algorithm.
ETreeTraverseCode
Tree traverse code returned by the traverse predicate function.
const TValue & GetValue(void) const
Return node's value.
@ eTreeTraverse
Keep traversal.
unsigned int
A callback function used to compare two keys in a database.
Int4 delta(size_t dimension_, const Int4 *score_)
Query string parsing components.
Source location (points to the position in the original src) All positions are 0 based.
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