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


Loading...
Searching...
No Matches
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

◆ array_type

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

◆ this_type

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

Constructor & Destructor Documentation

◆ Array()

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

Member Function Documentation

◆ equals()

template<typename TYPE >
bool Lucene::Array< TYPE >::equals ( const this_type other) const
inline

◆ get()

template<typename TYPE >
TYPE * Lucene::Array< TYPE >::get ( ) const
inline

◆ hashCode()

template<typename TYPE >
int32_t Lucene::Array< TYPE >::hashCode ( ) const
inline

◆ newInstance()

template<typename TYPE >
static this_type Lucene::Array< TYPE >::newInstance ( int32_t  size)
inlinestatic

◆ operator bool()

template<typename TYPE >
Lucene::Array< TYPE >::operator bool ( ) const
inline

◆ operator!()

template<typename TYPE >
bool Lucene::Array< TYPE >::operator! ( ) const
inline

◆ operator!=()

template<typename TYPE >
bool Lucene::Array< TYPE >::operator!= ( const Array< TYPE > &  other)
inline

◆ operator==()

template<typename TYPE >
bool Lucene::Array< TYPE >::operator== ( const Array< TYPE > &  other)
inline

◆ operator[]()

template<typename TYPE >
TYPE & Lucene::Array< TYPE >::operator[] ( int32_t  i) const
inline

◆ reset()

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

◆ resize()

template<typename TYPE >
void Lucene::Array< TYPE >::resize ( int32_t  size)
inline

◆ size()

template<typename TYPE >
int32_t Lucene::Array< TYPE >::size ( ) const
inline

Field Documentation

◆ array

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

◆ container

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