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


StdHeader.h File Reference

#include "CLucene/clucene-config.h"
#include "CLucene/CLConfig.h"
#include "CLucene/debug/lucenebase.h"
#include <cstddef>
#include <math.h>
#include <string>
#include "CLucene/config/repl_tchar.h"
#include "CLucene/debug/error.h"
#include "CLucene/debug/mem.h"

Go to the source code of this file.

Defines

#define CL_NS_DEF(sub)   namespace lucene{ namespace sub{
#define CL_NS_DEF2(sub, sub2)   namespace lucene{ namespace sub{ namespace sub2 {
#define CL_NS_END   }}
#define CL_NS_END2   }}}
#define CL_NS_USE(sub)   using namespace lucene::sub;
#define CL_NS_USE2(sub, sub2)   using namespace lucene::sub::sub2;
#define CL_NS(sub)   lucene::sub
#define CL_NS2(sub, sub2)   lucene::sub::sub2
#define CL_STRUCT_DEF(sub, clazz)   namespace lucene { namespace sub{ struct clazz; } }
#define CL_CLASS_DEF(sub, clazz)   namespace lucene { namespace sub{ class clazz; } }
#define CL_CLASS_DEF1(sub, clazz)   namespace sub{ class clazz; }
#define CL_NS_STD(func)   std::func
#define _UCS2
#define _UNICODE
#define cl_min(a, b)   (a>b?b:a)
#define cl_max(a, b)   (a>b?a:b)
#define LUCENE_INT32_MAX_SHOULDBE   0x7FFFFFFFL
#define __CONST_CAST(typ, var)   const_cast<typ>(var)
#define __REINTERPRET_CAST(typ, var)   reinterpret_cast<typ>(var)
#define _CL_DEPRECATE_TEXT(_Text)   __declspec(deprecated)
#define _CL_DEPRECATED(_NewItem)   _CL_DEPRECATE_TEXT("This function or variable has been superceded by newer library or operating system functionality. Consider using" #_NewItem "instead. See online help for details.")
#define StringArrayWithDeletor   CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >
#define StringArray   CL_NS(util)::CLVector<TCHAR*>
#define StringArrayWithDeletor   CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >
#define StringArrayConst   CL_NS(util)::CLVector<const TCHAR*>
#define StringArrayConstWithDeletor   CL_NS(util)::CLVector<const TCHAR*, CL_NS(util)::Deletor::tcArray >
#define AStringArray   CL_NS(util)::CLVector<char*>
#define AStringArrayWithDeletor   CL_NS(util)::CLVector<char*, CL_NS(util)::Deletor::acArray >
#define AStringArrayConst   CL_NS(util)::CLVector<const char*>
#define AStringArrayConstWithDeletor   CL_NS(util)::CLVector<const char*, CL_NS(util)::Deletor::acArray >

Functions

int64_t lucene_filelength (int handle)
CLUCENE_EXPORT void _lucene_shutdown ()


Define Documentation

#define __CONST_CAST ( typ,
var   )     const_cast<typ>(var)

#define __REINTERPRET_CAST ( typ,
var   )     reinterpret_cast<typ>(var)

#define _CL_DEPRECATE_TEXT ( _Text   )     __declspec(deprecated)

#define _CL_DEPRECATED ( _NewItem   )     _CL_DEPRECATE_TEXT("This function or variable has been superceded by newer library or operating system functionality. Consider using" #_NewItem "instead. See online help for details.")

#define _UCS2

#define _UNICODE

#define AStringArray   CL_NS(util)::CLVector<char*>

#define AStringArrayConst   CL_NS(util)::CLVector<const char*>

#define AStringArrayConstWithDeletor   CL_NS(util)::CLVector<const char*, CL_NS(util)::Deletor::acArray >

#define AStringArrayWithDeletor   CL_NS(util)::CLVector<char*, CL_NS(util)::Deletor::acArray >

#define CL_CLASS_DEF ( sub,
clazz   )     namespace lucene { namespace sub{ class clazz; } }

#define CL_CLASS_DEF1 ( sub,
clazz   )     namespace sub{ class clazz; }

#define cl_max ( a,
 )     (a>b?a:b)

#define cl_min ( a,
 )     (a>b?b:a)

#define CL_NS ( sub   )     lucene::sub

#define CL_NS2 ( sub,
sub2   )     lucene::sub::sub2

#define CL_NS_DEF ( sub   )     namespace lucene{ namespace sub{

#define CL_NS_DEF2 ( sub,
sub2   )     namespace lucene{ namespace sub{ namespace sub2 {

#define CL_NS_END   }}

#define CL_NS_END2   }}}

#define CL_NS_STD ( func   )     std::func

#define CL_NS_USE ( sub   )     using namespace lucene::sub;

#define CL_NS_USE2 ( sub,
sub2   )     using namespace lucene::sub::sub2;

#define CL_STRUCT_DEF ( sub,
clazz   )     namespace lucene { namespace sub{ struct clazz; } }

#define LUCENE_INT32_MAX_SHOULDBE   0x7FFFFFFFL

#define StringArray   CL_NS(util)::CLVector<TCHAR*>

#define StringArrayConst   CL_NS(util)::CLVector<const TCHAR*>

#define StringArrayConstWithDeletor   CL_NS(util)::CLVector<const TCHAR*, CL_NS(util)::Deletor::tcArray >

#define StringArrayWithDeletor   CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >

#define StringArrayWithDeletor   CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >


Function Documentation

CLUCENE_EXPORT void _lucene_shutdown (  ) 

int64_t lucene_filelength ( int  handle  ) 


clucene.sourceforge.net