Overture  Version 25
Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ListOfReferenceCountedObjects< T > Class Template Reference

#include <ListOfReferenceCountedObjects.h>

Inheritance diagram for ListOfReferenceCountedObjects< T >:
Inheritance graph
[legend]
Collaboration diagram for ListOfReferenceCountedObjects< T >:
Collaboration graph
[legend]

Classes

class  RCData
 

Public Member Functions

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

template<class T >
ListOfReferenceCountedObjects< T >::ListOfReferenceCountedObjects ( const int  numberOfElements)
template<class T >
ListOfReferenceCountedObjects< T >::ListOfReferenceCountedObjects ( const ListOfReferenceCountedObjects< T > &  X,
const CopyType  copyType = DEEP 
)

Member Function Documentation

template<class T >
void ListOfReferenceCountedObjects< T >::addElement ( const int  index)
template<class T >
void ListOfReferenceCountedObjects< T >::addElement ( )
template<class T >
void ListOfReferenceCountedObjects< T >::addElement ( const T &  t,
const int  index 
)
template<class T >
void ListOfReferenceCountedObjects< T >::addElement ( const T &  t)
template<class T >
void ListOfReferenceCountedObjects< T >::breakReference ( void  )
virtual
template<class T >
void ListOfReferenceCountedObjects< T >::checkRange ( const int  index) const
protected
template<class T >
void ListOfReferenceCountedObjects< T >::deleteElement ( const T &  X)
template<class T >
void ListOfReferenceCountedObjects< T >::deleteElement ( const int  index)
template<class T >
void ListOfReferenceCountedObjects< T >::deleteElement ( )
template<class T >
void ListOfReferenceCountedObjects< T >::deleteStuff ( )
protected
template<class T >
void ListOfReferenceCountedObjects< T >::destroy ( )
template<class T >
int ListOfReferenceCountedObjects< T >::getIndex ( const T &  X) const
template<class T>
int ListOfReferenceCountedObjects< T >::getLength ( ) const
inline
template<class T >
void ListOfReferenceCountedObjects< T >::initialize ( )
protected
template<class T>
int ListOfReferenceCountedObjects< T >::listLength ( ) const
inline
template<class T >
void ListOfReferenceCountedObjects< T >::openAPositionForAnElement ( const int  index)
protected
template<class T >
ListOfReferenceCountedObjects< T > & ListOfReferenceCountedObjects< T >::operator= ( const ListOfReferenceCountedObjects< T > &  X)
template<class T >
T & ListOfReferenceCountedObjects< T >::operator[] ( const int  index) const
template<class T >
void ListOfReferenceCountedObjects< T >::reference ( const ListOfReferenceCountedObjects< T > &  list)
template<class T >
void ListOfReferenceCountedObjects< T >::swapElements ( const int  i,
const int  j 
)

Member Data Documentation

template<class T>
RCData* ListOfReferenceCountedObjects< T >::rcData

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