Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

CQueryTokenNode Class Reference

CQueryTokenNode is a class which corresponds to one token or it's singular property (for example lemma). More...

#include <QueryNode.h>

Inheritance diagram for CQueryTokenNode:
Inheritance graph
[legend]
Collaboration diagram for CQueryTokenNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Public Attributes

Private Member Functions

Private Attributes


Detailed Description

CQueryTokenNode is a class which corresponds to one token or it's singular property (for example lemma).


Constructor & Destructor Documentation

CQueryTokenNode::CQueryTokenNode ( int  NodeIndex  ) 
CQueryTokenNode::~CQueryTokenNode (  )  [virtual]

Member Function Documentation

bool CQueryTokenNode::BuildRegExp ( string  RegExpStr,
vector< DWORD > &  IndexItems 
) [private]
bool CQueryTokenNode::CreateTokenPattern ( const CConcHolder pHolder,
const char *  src,
bool  bRegularExpession,
bool  bExact = false 
)
bool CQueryTokenNode::CreateThesPattern ( const CConcHolder pHolder,
const char *  src 
)

create pattern which is associated with "Thes" index

References BuildRegExp(), m_IndexItems, m_IndexName, CConcIndexator::m_Language, CConcHolder::m_pIndexator, CQueryNode::m_Source, RmlMakeUpper(), and CQueryNode::SetHolder().

Referenced by yyqparse().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CQueryTokenNode::CreateMorphAnnotationPattern ( const CConcHolder pHolder,
const char *  src,
const char *  IndexName 
)

create pattern which is associated with "MorphPattern" or "Lemma" index

References BuildRegExp(), CConcIndexator::GetIndexItemSetByVectorString(), m_IndexItems, m_IndexName, CQueryNode::m_pHolder, CConcHolder::m_pIndexator, CQueryNode::m_Source, and CQueryNode::SetHolder().

Referenced by yyqparse().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CQueryTokenNode::CreateFileList ( const CConcHolder pHolder,
const char *  src 
)

create pattern which is associated with "Token" index, loading search tokens from a file

References AddFormsWithDifferentRegisters(), CStringIndexator::GetIndexByName(), CConcIndexator::m_bCaseSensitive, m_IndexItems, m_IndexName, CConcIndexator::m_Language, CQueryNode::m_pHolder, CConcHolder::m_pIndexator, CQueryNode::m_Source, CStringIndexSet::QueryTokenList(), CQueryNode::SetHolder(), and Trim().

Referenced by yyqparse().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CQueryTokenNode::CreateChunkPattern ( const CConcHolder pHolder,
const char *  ChunkTypeStr 
)

create pattern which is associated with "Chunk" index

References BuildRegExp(), ChunkIndexName, CQueryNode::m_bAtomic, m_bChunk, m_IndexItems, m_IndexName, CStringIndexator::m_pChunkIndex, CConcHolder::m_pIndexator, CQueryNode::m_Source, and CQueryNode::SetHolder().

Referenced by yyqparse().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CQueryTokenNode::CreateNodeByIndexName ( const CConcHolder pHolder,
const char *  IndexName,
const char *  Value,
bool  bRegularExpession 
)

create pattern which is associated with "IndexName" index ( a generalized version)

References BuildRegExp(), CStringIndexator::GetIndexByNameOrShortName(), m_IndexItems, m_IndexName, CStringIndexSet::m_Name, CConcHolder::m_pIndexator, CQueryNode::m_Source, CStringIndexSet::QueryTokenList(), and CQueryNode::SetHolder().

Referenced by yyqparse().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQueryTokenNode::EvaluateWithoutHits (  )  [virtual]
void CQueryTokenNode::Evaluate (  )  [virtual]

Reimplemented from CQueryNode.

References CQueryNode::ConvertOccurrencesToHits(), CQueryNode::ConvertOccurrencesToHitsForPatterns(), EvaluateWithoutHits(), and m_bChunk.

Here is the call graph for this function:

size_t CQueryTokenNode::GetNodeFrequenceByNodeIndex ( size_t  NodeIndex  )  const [virtual]

Reimplemented from CQueryNode.

References m_NodeIndex, and CQueryNode::m_Occurrences.


Member Data Documentation

string CQueryTokenNode::m_IndexName [private]
bool CQueryTokenNode::m_bChunk [private]

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