NCBI C++ ToolKit
|
Search Toolkit Book for CSGQueryFunctionCompare
class CSGQueryFunctionCompare More...
#include <gui/widgets/seq_graphic/feature_filter.hpp>
Public Types | |
typedef CQueryFunctionBase | TParent |
Public Types inherited from CQueryFunctionBase | |
typedef vector< CQueryParseTree::TNode * > | TArgVector |
Vector for easy argument access. More... | |
Public Member Functions | |
CSGQueryFunctionCompare () | |
Ctors for compare must include op_type for loading promotion rules. More... | |
virtual void | Evaluate (CQueryParseTree::TNode &node) |
class CSGQueryFunctionCompare More... | |
Public Member Functions inherited from CQueryFunctionBase | |
virtual | ~CQueryFunctionBase () |
virtual bool | EvaluateChildrenFirst () const |
Do we evaluate before visiting the nodes children or after. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CQueryFunctionBase | |
CQueryExec & | GetExec () |
Get reference on parent execution environment. More... | |
CQueryParseTree & | GetQueryTree () |
Get query tree (execution context) More... | |
void | MakeArgVector (CQueryParseTree::TNode &qnode, TArgVector &args) |
Created vector of arguments (translate sub-nodes to vector) More... | |
CQueryParseTree::TNode * | GetArg0 (CQueryParseTree::TNode &qnode) |
Get first sub-node. More... | |
Protected Attributes inherited from CQueryFunctionBase | |
CQueryExec * | m_QExec |
class CSGQueryFunctionCompare
Query execution function for comparison operators like <, ==, >.
Definition at line 282 of file feature_filter.hpp.
Definition at line 285 of file feature_filter.hpp.
|
inline |
Ctors for compare must include op_type for loading promotion rules.
Definition at line 289 of file feature_filter.hpp.
|
virtual |
class CSGQueryFunctionCompare
Implements CQueryFunctionBase.
Definition at line 754 of file feature_filter.cpp.
References _ASSERT, NStr::Compare(), CQueryParseNode::eBetween, CQueryParseNode::eBoolConst, CQueryParseNode::eEQ, CQueryParseNode::eFloatConst, CQueryParseNode::eGE, CQueryParseNode::eGT, CQueryParseNode::eIn, CQueryParseNode::eIntConst, CQueryParseNode::eLE, CQueryParseNode::eLike, CQueryParseNode::eLT, NStr::eNocase, NStr::EqualNocase(), CQueryParseNode::eString, CSGQueryNodeValue::GetDataType(), i, CSGQueryNodeValue::IsValid(), CSGQueryNodeValue::m_Bool, CSGQueryNodeValue::m_Double, CSGQueryNodeValue::m_Int, CSGQueryNodeValue::m_String, CQueryFunctionBase::MakeArgVector(), NStr::MatchesMask(), NCBI_THROW, and result.