NCBI C++ ToolKit
|
Search Toolkit Book for CQueryHighlightFunction
Class for extracting positions of data fields from the query. More...
Public Member Functions | |
CQueryHighlightFunction () | |
std::vector< std::pair< size_t, size_t > > | GetFieldPositions () const |
ETreeTraverseCode | operator() (const CTreeNode< CQueryParseNode > &tr, int delta) |
Protected Attributes | |
std::vector< std::pair< size_t, size_t > > | m_FieldPositions |
Class for extracting positions of data fields from the query.
A data field is a query string token that matches a name in the dictionary.
Definition at line 883 of file query_parse_panel.cpp.
|
inline |
Definition at line 886 of file query_parse_panel.cpp.
|
inline |
Definition at line 889 of file query_parse_panel.cpp.
Referenced by CQueryParsePanel::x_IsValidQuery().
|
inline |
Definition at line 892 of file query_parse_panel.cpp.
References delta(), eTreeTraverse, CQueryParseNode::GetLoc(), CQueryParseNode::GetStrValue(), CQueryParseNode::GetUserObject(), CTreeNode< TValue, TKeyGetterP >::GetValue(), CQueryNodeValue::IsDataField(), NULL, and CQueryParseNode::SSrcLoc::pos.
|
protected |
Definition at line 917 of file query_parse_panel.cpp.