CLAM-Development  1.4.0
Public Member Functions
CLAM::IndexArray Class Reference

#include <IndexArray.hxx>

List of all members.

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 TIndexGetPtr (void) const
TIndexGetPtr (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 TIndexoperator[] (const int &i) const
TIndexoperator[] (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 ComponentShallowCopy () const
virtual ComponentDeepCopy () 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

Detailed Description

Definition at line 32 of file IndexArray.hxx.


Constructor & Destructor Documentation

CLAM::IndexArray::IndexArray ( int  size = 0)
inline

Definition at line 35 of file IndexArray.hxx.

References Reset(), and CLAM::Array< TIndex >::SetSize().


Member Function Documentation

void CLAM::IndexArray::Reset ( void  )
inline

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