Lucene++ - a full-featured, c++ search engine
API Documentation
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_type > | container |
array_type * | array |
Utility template class to handle sharable arrays of simple data types.
typedef ArrayData<TYPE> Lucene::Array< TYPE >::array_type |
typedef Array<TYPE> Lucene::Array< TYPE >::this_type |
|
inline |
References Lucene::Array< TYPE >::array.
|
inline |
|
inline |
References Lucene::Array< TYPE >::array, and Lucene::ArrayData< TYPE >::data.
|
inline |
References Lucene::Array< TYPE >::array.
Referenced by Lucene::hash_value(), and Lucene::operator==().
|
inlinestatic |
|
inline |
References Lucene::Array< TYPE >::container.
|
inline |
References Lucene::Array< TYPE >::container.
|
inline |
References Lucene::Array< TYPE >::container.
|
inline |
References Lucene::Array< TYPE >::container.
|
inline |
References Lucene::Array< TYPE >::array, and Lucene::ArrayData< TYPE >::data.
|
inline |
References Lucene::Array< TYPE >::resize().
|
inline |
References Lucene::Array< TYPE >::array, Lucene::Array< TYPE >::container, and Lucene::Array< TYPE >::size().
Referenced by Lucene::Array< TYPE >::reset().
|
inline |
References Lucene::Array< TYPE >::array, and Lucene::ArrayData< TYPE >::size.
Referenced by Lucene::Array< TYPE >::newInstance(), and Lucene::Array< TYPE >::resize().
|
protected |
|
protected |