CQueryWithNode is a class which is used to search a node which simultaneously has two properties, namely m_pChild1 and m_pChild2. (implementation of "with" operator: for example, Mother with [NOUN] ). More...
#include <QueryNode.h>
CQueryWithNode is a class which is used to search a node which simultaneously has two properties, namely m_pChild1 and m_pChild2. (implementation of "with" operator: for example, Mother with [NOUN] ).
CQueryWithNode::CQueryWithNode | ( | ) |
References CQueryNode::m_bAtomic.
void CQueryWithNode::OccurIntersectionWithTokenIds | ( | ) | [private] |
References CQueryNode::m_Occurrences, CQueryNode::m_OccurrenceTokenIdxs, CQueryBinaryOperationNode::m_pChild1, and CQueryBinaryOperationNode::m_pChild2.
Referenced by EvaluateWithoutHits().
bool CQueryWithNode::Create | ( | const CConcHolder * | pHolder, | |
CQueryNode * | child1, | |||
CQueryNode * | child2 | |||
) |
create the node during yacc parsing
Referenced by yyqparse().
void CQueryWithNode::EvaluateWithoutHits | ( | ) | [virtual] |
Reimplemented from CQueryNode.
References GetOccurrencesSize, CQueryNode::m_bUseNodeIndices, CQueryNode::m_ChunkLengths, CQueryNode::m_OccurrenceNodeIndices, CQueryNode::m_Occurrences, CQueryNode::m_OccurrenceTokenIdxs, CQueryBinaryOperationNode::m_pChild1, CQueryBinaryOperationNode::m_pChild2, and OccurIntersectionWithTokenIds().
Referenced by Evaluate().
void CQueryWithNode::Evaluate | ( | ) | [virtual] |
Reimplemented from CQueryNode.
References CQueryNode::ConvertOccurrencesToHits(), and EvaluateWithoutHits().