|
CLAM-Development
1.4.0
|
#include <IndexArray.hxx>
Public Member Functions | |
| IndexArray (int size=0) | |
| void | Reset (void) |
Public Member Functions inherited from CLAM::Array< TIndex > | |
| Array (TSize size=0, TSize step=1) | |
| Array (TIndex *ptr, int size=0) | |
| Array (const Array< TIndex > &originalArray) | |
| void | Init () |
| ~Array () | |
| const char * | GetClassName () const |
| Return the class name. | |
| bool | OwnsMemory () const |
| bool | Empty () const |
| TSize | Size (void) const |
| TSize | SizeInBytes (void) const |
| TSize | AllocatedSize (void) const |
| TSize | AllocatedSizeInBytes (void) const |
| void | SetSize (TSize size) |
| void | SetStep (TSize step) |
| TSize | GetStep () const |
| void | Resize (TSize newAllocSize) |
| const TIndex * | GetPtr (void) const |
| TIndex * | GetPtr (void) |
| void | SetPtr (TIndex *ptr, int size=0) |
| void | GiveChunk (int pos, int size, Array< TIndex > &) const |
| void | CopyChunk (int pos, int size, Array< TIndex > &) const |
| const TIndex & | operator[] (const int &i) const |
| TIndex & | operator[] (const int &i) |
| void | AddElem (const TIndex &elem) |
| void | InsertElem (int where, const TIndex &elem) |
| void | SetElem (int where, const TIndex &elem) |
| void | DeleteElem (int where) |
| Array< TIndex > & | operator= (const Array< TIndex > &src) |
| Array< TIndex > & | operator+= (const Array< TIndex > &src) |
| void | Apply (TIndex(*f)(TIndex)) |
| void | Apply (TIndex(*f)(TIndex, int), int parameter) |
| void | StoreOn (Storage &storage) const |
| Stores component's subitems on the given Storage. | |
| void | LoadFrom (Storage &storage) |
| Loads component's subitems from the given Storage. | |
Public Member Functions inherited from CLAM::Component | |
| virtual | ~Component () |
| virtual Component * | ShallowCopy () const |
| virtual Component * | DeepCopy () const |
Additional Inherited Members | |
Static Public Attributes inherited from CLAM::Array< TIndex > | |
| static const char * | msgSetSizeOutOfRange |
| static const char * | msgIndexOutOfRange |
| static const char * | msgInsertOutOfRange |
| static const char * | msgDeleteOutOfRange |
Definition at line 32 of file IndexArray.hxx.
|
inline |
Definition at line 35 of file IndexArray.hxx.
References Reset(), and CLAM::Array< TIndex >::SetSize().
|
inline |
Definition at line 40 of file IndexArray.hxx.
References CLAM::Array< TIndex >::GetPtr(), and CLAM::Array< TIndex >::Size().
Referenced by IndexArray(), and CLAM::SpectralPeakArray::ResetIndices().
1.8.1