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 array.
Referenced by operator!=(), and operator==().
|
inline |
References array, Lucene::ArrayData< TYPE >::data, and Lucene::ArrayData< TYPE >::size.
|
inline |
References array.
|
inline |
References array.
Referenced by Lucene::hash_value(), and Lucene::operator==().
|
inlinestatic |
References array, container, Lucene::newInstance(), and size().
Referenced by Lucene::TranslationResult< TYPE >::setLength(), and Lucene::TranslationResult< TYPE >::TranslationResult().
|
inline |
References container.
|
inline |
References container.
|
inline |
|
inline |
|
inline |
References array.
|
inline |
References resize().
|
inline |
References array, container, Lucene::newInstance(), and size().
Referenced by reset().
|
inline |
References array.
Referenced by newInstance(), and resize().
|
protected |
Referenced by Array(), equals(), get(), hashCode(), newInstance(), operator[](), resize(), and size().
|
protected |
Referenced by newInstance(), operator bool(), operator!(), operator!=(), operator==(), and resize().