Overture
Version 25
|
#include <ListOfIntArray.h>
Classes | |
class | RCData |
Public Member Functions | |
ListOfIntArray () | |
ListOfIntArray (const int numberOfElements) | |
ListOfIntArray (const ListOfIntArray &, const CopyType=DEEP) | |
~ListOfIntArray () | |
ListOfIntArray & | operator= (const ListOfIntArray &) |
void | addElement (const int index) |
void | addElement () |
void | addElement (const intArray &t, const int index) |
void | addElement (const intArray &t) |
int | getLength () const |
intArray & | operator[] (const int index) const |
void | deleteElement (const intArray &X) |
void | deleteElement (const int index) |
void | deleteElement () |
void | destroy () |
void | swapElements (const int i, const int j) |
int | getIndex (const intArray &X) const |
void | reference (const ListOfIntArray &list) |
void | breakReference () |
int | listLength () const |
Public Member Functions inherited from ReferenceCounting | |
ReferenceCounting () | |
ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP) | |
virtual | ~ReferenceCounting () |
Integer | incrementReferenceCount () |
Integer | decrementReferenceCount () |
Integer | getReferenceCount () const |
Logical | uncountedReferencesMayExist () |
virtual aString | getClassName () const |
Integer | getGlobalID () const |
void | setGlobalID (int id) |
virtual void | consistencyCheck () const |
Public Attributes | |
RCData * | rcData |
Protected Member Functions | |
void | initialize () |
void | deleteStuff () |
void | openAPositionForAnElement (const int index) |
void | checkRange (const int) const |
ListOfIntArray::ListOfIntArray | ( | ) |
ListOfIntArray::ListOfIntArray | ( | const int | numberOfElements | ) |
ListOfIntArray::ListOfIntArray | ( | const ListOfIntArray & | , |
const CopyType | = DEEP |
||
) |
ListOfIntArray::~ListOfIntArray | ( | ) |
void ListOfIntArray::addElement | ( | const int | index | ) |
void ListOfIntArray::addElement | ( | ) |
void ListOfIntArray::addElement | ( | const intArray & | t, |
const int | index | ||
) |
void ListOfIntArray::addElement | ( | const intArray & | t | ) |
|
virtual |
Reimplemented from ReferenceCounting.
|
protected |
void ListOfIntArray::deleteElement | ( | const intArray & | X | ) |
void ListOfIntArray::deleteElement | ( | const int | index | ) |
void ListOfIntArray::deleteElement | ( | ) |
|
protected |
void ListOfIntArray::destroy | ( | ) |
int ListOfIntArray::getIndex | ( | const intArray & | X | ) | const |
|
inline |
References rcData.
|
protected |
|
inline |
References rcData.
|
protected |
ListOfIntArray& ListOfIntArray::operator= | ( | const ListOfIntArray & | ) |
intArray& ListOfIntArray::operator[] | ( | const int | index | ) | const |
void ListOfIntArray::reference | ( | const ListOfIntArray & | list | ) |
void ListOfIntArray::swapElements | ( | const int | i, |
const int | j | ||
) |
RCData* ListOfIntArray::rcData |
Referenced by getLength(), and listLength().