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


lucene::queryParser::QueryToken Class Reference

#include <QueryToken.h>

Inheritance diagram for lucene::queryParser::QueryToken:
lucene::debug::LuceneBase

List of all members.

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 (TCHAR *value, const int32_t start, const int32_t end, const Types type)
 QueryToken (TCHAR *value, const Types type)
 QueryToken (Types type)
 QueryToken ()
 ~QueryToken ()
void set (TCHAR *value, const int32_t start, const int32_t end, const Types type)
void set (TCHAR *value, const Types type)
void set (Types type)

Public Attributes

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 ( TCHAR *  value,
const int32_t  start,
const int32_t  end,
const Types  type 
)
lucene::queryParser::QueryToken::QueryToken ( 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 ( Types  type  ) 
void lucene::queryParser::QueryToken::set ( TCHAR *  value,
const Types  type 
)
void lucene::queryParser::QueryToken::set ( TCHAR *  value,
const int32_t  start,
const int32_t  end,
const Types  type 
)

Member Data Documentation


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

clucene.sourceforge.net