CLucene - a full-featured, c++ search engine
API Documentation
#include "lucenebase.h"Go to the source code of this file.
Classes | |
| class | Array< T > |
Defines | |
| #define | _CLNEW new |
| #define | LUCENE_BASE public CL_NS(debug)::LuceneVoidBase |
| #define | LUCENE_BASE_CHECK(obj) (obj)->dummy__see_mem_h_for_details |
| #define | _CL_POINTER(x) (x==NULL?NULL:(x->__cl_addref()>=0?x:x)) |
| #define | LUCENE_REFBASE public CL_NS(debug)::LuceneBase |
| #define | LUCENE_BASE_CHECK(x) |
| #define | _CL_NEWARRAY(type, size) new type[size] |
| #define | _CLDELETE_ARRAY(x) if (x!=NULL){delete [] x; x=NULL;} |
| #define | _CLDELETE_LARRAY(x) if (x!=NULL){delete [] x;} |
| #define | _CLDELETE_CARRAY(x) if (x!=NULL){delete [] x; x=NULL;} |
| #define | _CLDELETE_LCARRAY(x) if (x!=NULL){delete [] x;} |
| #define | _CLDELETE_CARRAY_ALL(x) {if ( x!=NULL ){ for(int xcda=0;x[xcda]!=NULL;xcda++)_CLDELETE_CARRAY(x[xcda]);}_CLDELETE_ARRAY(x)}; |
| #define | _CLDELETE_ARRAY_ALL(x) {if ( x!=NULL ){ for(int xcda=0;x[xcda]!=NULL;xcda++)_CLDELETE(x[xcda]);}_CLDELETE_ARRAY(x)}; |
| #define | _CLDELETE_CaARRAY _CLDELETE_CARRAY |
| #define | _CLDELETE_LCaARRAY _CLDELETE_LCARRAY |
| #define | _CLDELETE(x) if (x!=NULL){ LUCENE_BASE_CHECK(x); delete x; x=NULL; } |
| #define | _CLLDELETE(x) if (x!=NULL){ LUCENE_BASE_CHECK(x); delete x; } |
| #define | _CLDECDELETE(x) if (x!=NULL){ CND_PRECONDITION((x)->__cl_refcount>=0,"__cl_refcount was < 0"); if ((x)->__cl_decref() <= 0)delete x; x=NULL; } |
| #define | _CLLDECDELETE(x) if (x!=NULL){ CND_PRECONDITION((x)->__cl_refcount>=0,"__cl_refcount was < 0"); if ((x)->__cl_decref() <= 0)delete x; } |
| #define | _CLVDELETE(x) if(x!=NULL){delete x; x=NULL;} |
| #define _CL_NEWARRAY | ( | type, | |||
| size | ) | new type[size] |
| #define _CL_POINTER | ( | x | ) | (x==NULL?NULL:(x->__cl_addref()>=0?x:x)) |
| #define _CLDECDELETE | ( | x | ) | if (x!=NULL){ CND_PRECONDITION((x)->__cl_refcount>=0,"__cl_refcount was < 0"); if ((x)->__cl_decref() <= 0)delete x; x=NULL; } |
| #define _CLDELETE | ( | x | ) | if (x!=NULL){ LUCENE_BASE_CHECK(x); delete x; x=NULL; } |
| #define _CLDELETE_ARRAY | ( | x | ) | if (x!=NULL){delete [] x; x=NULL;} |
Referenced by Array< Array< TermVectorOffsetInfo > >::deleteAll(), Array< Array< TermVectorOffsetInfo > >::deleteArray(), lucene::search::FieldDoc::~FieldDoc(), lucene::util::PriorityQueue< PhrasePositions *, lucene::util::Deletor::Object< PhrasePositions > >::~PriorityQueue(), and lucene::search::FieldCache::StringIndex::~StringIndex().
| #define _CLDELETE_ARRAY_ALL | ( | x | ) | {if ( x!=NULL ){ for(int xcda=0;x[xcda]!=NULL;xcda++)_CLDELETE(x[xcda]);}_CLDELETE_ARRAY(x)}; |
| #define _CLDELETE_CaARRAY _CLDELETE_CARRAY |
Referenced by lucene::util::Deletor::acArray::doDelete().
| #define _CLDELETE_CARRAY | ( | x | ) | if (x!=NULL){delete [] x; x=NULL;} |
| #define _CLDELETE_CARRAY_ALL | ( | x | ) | {if ( x!=NULL ){ for(int xcda=0;x[xcda]!=NULL;xcda++)_CLDELETE_CARRAY(x[xcda]);}_CLDELETE_ARRAY(x)}; |
| #define _CLDELETE_LARRAY | ( | x | ) | if (x!=NULL){delete [] x;} |
Referenced by lucene::util::Deletor::Array< _kt >::doDelete().
| #define _CLDELETE_LCaARRAY _CLDELETE_LCARRAY |
| #define _CLDELETE_LCARRAY | ( | x | ) | if (x!=NULL){delete [] x;} |
| #define _CLLDECDELETE | ( | x | ) | if (x!=NULL){ CND_PRECONDITION((x)->__cl_refcount>=0,"__cl_refcount was < 0"); if ((x)->__cl_decref() <= 0)delete x; } |
| #define _CLLDELETE | ( | x | ) | if (x!=NULL){ LUCENE_BASE_CHECK(x); delete x; } |
Referenced by lucene::util::Deletor::Object< _kt >::doDelete().
| #define _CLNEW new |
Referenced by lucene::search::BooleanQuery::_createWeight(), lucene::search::BooleanClause::clone(), lucene::search::Searcher::search(), lucene::search::ScoreDocComparators::Float::sortValue(), lucene::search::ScoreDocComparators::Int32::sortValue(), lucene::search::ScoreDocComparators::String::sortValue(), lucene::search::ScoreDocComparators::IndexOrder::sortValue(), and lucene::search::ScoreDocComparators::Relevance::sortValue().
| #define _CLVDELETE | ( | x | ) | if(x!=NULL){delete x; x=NULL;} |
Referenced by lucene::util::Deletor::Void< _kt >::doDelete().
| #define LUCENE_BASE public CL_NS(debug)::LuceneVoidBase |
| #define LUCENE_BASE_CHECK | ( | x | ) |
| #define LUCENE_BASE_CHECK | ( | obj | ) | (obj)->dummy__see_mem_h_for_details |
| #define LUCENE_REFBASE public CL_NS(debug)::LuceneBase |