Overture  Version 25
Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ListOfMappingRC Class Reference

#include <ListOfMappingRC.h>

Inheritance diagram for ListOfMappingRC:
Inheritance graph
[legend]
Collaboration diagram for ListOfMappingRC:
Collaboration graph
[legend]

Classes

class  RCData
 

Public Member Functions

 ListOfMappingRC ()
 
 ListOfMappingRC (const int numberOfElements)
 
 ListOfMappingRC (const ListOfMappingRC &, const CopyType=DEEP)
 
 ~ListOfMappingRC ()
 
ListOfMappingRCoperator= (const ListOfMappingRC &)
 
void addElement (const int index)
 
void addElement ()
 
void addElement (const MappingRC &t, const int index)
 
void addElement (const MappingRC &t)
 
int getLength () const
 
MappingRCoperator[] (const int index) const
 
void deleteElement (const MappingRC &X)
 
void deleteElement (const int index)
 
void deleteElement ()
 
void destroy ()
 
void swapElements (const int i, const int j)
 
int getIndex (const MappingRC &X) const
 
void reference (const ListOfMappingRC &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

RCDatarcData
 

Protected Member Functions

void initialize ()
 
void deleteStuff ()
 
void openAPositionForAnElement (const int index)
 
void checkRange (const int) const
 

Constructor & Destructor Documentation

ListOfMappingRC::ListOfMappingRC ( )

References initialize().

ListOfMappingRC::ListOfMappingRC ( const int  numberOfElements)

References addElement(), and initialize().

ListOfMappingRC::ListOfMappingRC ( const ListOfMappingRC X,
const CopyType  copyType = DEEP 
)
ListOfMappingRC::~ListOfMappingRC ( )

Member Function Documentation

void ListOfMappingRC::addElement ( const int  index)
void ListOfMappingRC::addElement ( )

References listLength().

Referenced by addElement(), ListOfMappingRC(), and operator=().

void ListOfMappingRC::addElement ( const MappingRC t,
const int  index 
)
void ListOfMappingRC::addElement ( const MappingRC t)

References addElement(), and listLength().

void ListOfMappingRC::breakReference ( void  )
virtual
void ListOfMappingRC::checkRange ( const int  index) const
protected
void ListOfMappingRC::deleteElement ( const MappingRC X)
void ListOfMappingRC::deleteElement ( const int  index)

References checkRange(), listLength(), and rcData.

void ListOfMappingRC::deleteElement ( )

References listLength().

Referenced by deleteElement(), and operator=().

void ListOfMappingRC::deleteStuff ( )
protected

References listLength(), and rcData.

Referenced by destroy(), reference(), and ~ListOfMappingRC().

void ListOfMappingRC::destroy ( )
int ListOfMappingRC::getIndex ( const MappingRC X) const

References listLength(), and rcData.

int ListOfMappingRC::getLength ( ) const
inline
void ListOfMappingRC::initialize ( )
protected
int ListOfMappingRC::listLength ( ) const
inline
void ListOfMappingRC::openAPositionForAnElement ( const int  index)
protected

References assert, checkRange(), listLength(), NULL, and rcData.

Referenced by addElement().

ListOfMappingRC & ListOfMappingRC::operator= ( const ListOfMappingRC X)
MappingRC & ListOfMappingRC::operator[] ( const int  index) const

References checkRange(), and rcData.

void ListOfMappingRC::reference ( const ListOfMappingRC list)
void ListOfMappingRC::swapElements ( const int  i,
const int  j 
)

References checkRange(), and rcData.

Member Data Documentation

RCData* ListOfMappingRC::rcData

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