CLucene - a full-featured, c++ search engine
API Documentation


lucene::queryParser::QueryToken Class Reference

#include <QueryToken.h>


Public Types

enum  Types {
  AND_, OR, NOT, PLUS,
  MINUS, LPAREN, RPAREN, COLON,
  CARAT, QUOTED, TERM, SLOP,
  FUZZY, PREFIXTERM, WILDTERM, RANGEIN,
  RANGEEX, NUMBER, EOF_, UNKNOWN_
}

Public Member Functions

 QueryToken (const TCHAR *value, const int32_t start, const int32_t end, const Types type)
 QueryToken (const TCHAR *value, const Types type)
 QueryToken (Types type)
 QueryToken ()
 ~QueryToken ()
void set (const TCHAR *value, const int32_t start, const int32_t end, const Types type)
void set (const TCHAR *value, const Types type)
void set (Types type)

Data Fields

TCHAR * Value
int32_t Start
int32_t End
QueryToken::Types Type


Member Enumeration Documentation

Enumerator:
AND_ 
OR 
NOT 
PLUS 
MINUS 
LPAREN 
RPAREN 
COLON 
CARAT 
QUOTED 
TERM 
SLOP 
FUZZY 
PREFIXTERM 
WILDTERM 
RANGEIN 
RANGEEX 
NUMBER 
EOF_ 
UNKNOWN_ 


Constructor & Destructor Documentation

lucene::queryParser::QueryToken::QueryToken ( const TCHAR *  value,
const int32_t  start,
const int32_t  end,
const Types  type 
)

lucene::queryParser::QueryToken::QueryToken ( const TCHAR *  value,
const Types  type 
)

lucene::queryParser::QueryToken::QueryToken ( Types  type  ) 

lucene::queryParser::QueryToken::QueryToken (  ) 

lucene::queryParser::QueryToken::~QueryToken (  ) 


Member Function Documentation

void lucene::queryParser::QueryToken::set ( const TCHAR *  value,
const int32_t  start,
const int32_t  end,
const Types  type 
)

void lucene::queryParser::QueryToken::set ( const TCHAR *  value,
const Types  type 
)

void lucene::queryParser::QueryToken::set ( Types  type  ) 


Field Documentation


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

clucene.sourceforge.net