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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
Lucene::Array< TYPE > Class Template Reference

Utility template class to handle sharable arrays of simple data types. More...

#include <Array.h>

Public Types

typedef Array< TYPE > this_type
typedef ArrayData< TYPE > array_type

Public Member Functions

 Array ()
void reset ()
void resize (int32_t size)
TYPE * get () const
int32_t size () const
bool equals (const this_type &other) const
int32_t hashCode () const
TYPE & operator[] (int32_t i) const
 operator bool () const
bool operator! () const
bool operator== (const Array< TYPE > &other)
bool operator!= (const Array< TYPE > &other)

Static Public Member Functions

static this_type newInstance (int32_t size)

Protected Attributes

boost::shared_ptr< array_typecontainer
array_typearray

Detailed Description

template<typename TYPE>
class Lucene::Array< TYPE >

Utility template class to handle sharable arrays of simple data types.

Member Typedef Documentation

template<typename TYPE>
typedef ArrayData<TYPE> Lucene::Array< TYPE >::array_type
template<typename TYPE>
typedef Array<TYPE> Lucene::Array< TYPE >::this_type

Constructor & Destructor Documentation

template<typename TYPE>
Lucene::Array< TYPE >::Array ( )
inline

Member Function Documentation

template<typename TYPE>
bool Lucene::Array< TYPE >::equals ( const this_type other) const
inline
template<typename TYPE>
TYPE* Lucene::Array< TYPE >::get ( ) const
inline
template<typename TYPE>
int32_t Lucene::Array< TYPE >::hashCode ( ) const
inline
template<typename TYPE>
static this_type Lucene::Array< TYPE >::newInstance ( int32_t  size)
inlinestatic
template<typename TYPE>
Lucene::Array< TYPE >::operator bool ( ) const
inline
template<typename TYPE>
bool Lucene::Array< TYPE >::operator! ( ) const
inline
template<typename TYPE>
bool Lucene::Array< TYPE >::operator!= ( const Array< TYPE > &  other)
inline
template<typename TYPE>
bool Lucene::Array< TYPE >::operator== ( const Array< TYPE > &  other)
inline
template<typename TYPE>
TYPE& Lucene::Array< TYPE >::operator[] ( int32_t  i) const
inline
template<typename TYPE>
void Lucene::Array< TYPE >::reset ( )
inline
template<typename TYPE>
void Lucene::Array< TYPE >::resize ( int32_t  size)
inline
template<typename TYPE>
int32_t Lucene::Array< TYPE >::size ( ) const
inline

Field Documentation

template<typename TYPE>
array_type* Lucene::Array< TYPE >::array
protected
template<typename TYPE>
boost::shared_ptr<array_type> Lucene::Array< TYPE >::container
protected

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

clucene.sourceforge.net