A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCQueryFuncPromoteLogic.html below:

NCBI C++ ToolKit: CQueryFuncPromoteLogic Class Reference

Search Toolkit Book for CQueryFuncPromoteLogic

class CQueryFuncPromoteLogic More...

#include <gui/objutils/query_func_promote.hpp>

  CQueryFuncPromoteLogic ()   virtual void  Evaluate (CQueryParseTree::TNode &qnode)   Try to convert the arguments into boolean values and, if successful, apply the specified boolean operator to those values. More...
  virtual size_t  GetArgCountMin (CQueryParseNode::EType t)   virtual size_t  GetArgCountMax (CQueryParseNode::EType t)   xor, sub take 2 args, not takes 1 More...
    CQueryFuncPromoteBase ()   void  SetCaseSensitive (NStr::ECase e)   Get/set case sensitivity for all string compares for this function. More...
  NStr::ECase  GetCaseSensitive () const   void  SetStringMatching (CStringMatching::EStringMatching m)   Get/set string matching algorithm. More...
  CStringMatching::EStringMatching  GetStringMatching () const   TEvalResultGetQueryNodeValue (CQueryParseTree::TNode &qnode)   Get the user object for node 'qnode' or NULL if not created. More...
  TEvalResultMakeQueryNodeValue (CQueryParseTree::TNode &qnode)   Get user object for 'qnode' or create a new object if it doesn't exist. More...
  void  PreProcess (CQueryParseTree::TNode &tr, objects::CScope *scope)   Resolve, if possible, the data type for the query node tr and, for operator nodes (e.g. More...
  QueryValueType::EBaseType  ResolveAndPromote (size_t comparison_idx, CQueryParseTree::TNode &qnode, CQueryParseTree::TNode *arg1, CQueryParseTree::TNode *arg2)   For the operator in 'qnode', retrive from data source (if ncessary) the data values arg1 and arg2 and promote the values, if needed, to the required type needed for comparison. More...
  QueryValueType::EBaseType  GetPromotedType (const CPromoteRule &pr)   Given data from two nodes and a comparison operator (e.g. More...
  bool  ResolveFieldValue (TEvalResult &tree_val)   Get the value of a field from the data source and store the result in the CQueryNodeValue object. More...
  bool  SetCompareType (TEvalResult &tree_value)   Given data for a node, determine its underlying data type (e.g. More...
  virtual  ~CQueryFunctionBase ()   virtual bool  EvaluateChildrenFirst () const   Do we evaluate before visiting the nodes children or after. More...
 

class CQueryFuncPromoteLogic

Query execution function for logical operators like AND, OR, etc.

Definition at line 230 of file query_func_promote.hpp.

◆ CQueryFuncPromoteLogic() ◆ Evaluate()

Try to convert the arguments into boolean values and, if successful, apply the specified boolean operator to those values.

Implements CQueryFunctionBase.

Definition at line 748 of file query_func_promote.cpp.

References QueryValueType::eBool, CQueryParseNode::eNot, CQueryParseNode::eSub, CQueryParseNode::eXor, CQueryNodeValue::GetFieldID(), CQueryFuncPromoteBase::GetQueryNodeValue(), CQueryNodeValue::GetValue(), CTreeNode< TValue, TKeyGetterP >::GetValue(), CQueryNodeValue::IsDataField(), CQueryNodeValue::m_Bool, CQueryFunctionBase::m_QExec, CQueryFunctionBase::MakeArgVector(), CQueryFuncPromoteBase::MakeQueryNodeValue(), NCBI_THROW, CQueryNodeValue::PromoteTo(), CQueryExec::ResolveIdentifier(), CQueryNodeValue::SetValue(), and NStr::SizetToString().

◆ GetArgCountMax() ◆ GetArgCountMin()

The documentation for this class was generated from the following files:


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