University of Sheffield   

    The Simons
    Component Library

Introduction   Class Hierarchy   Class Listing   Index of Classes   Index of Methods   Header Files  

NoElementsID Class Reference

#include <NoElementsID.h>

Inheritance diagram for NoElementsID:

MethodErrorID ExceptionID ObjectID List of all members.

Detailed Description

NoElementsID: a typed reference to a NoElements.

NoElementsID is a strongly typed, reference counting pointer that refers to a NoElements. NoElementsID variables may be initialised to NoElements* objects and all subtypes. NoElementsID variables may alias objects held by other NoElementsID variables, or any subtype. When a NoElementsID acquires an object, it increments the object's reference count. When a NoElementsID releases an object, it decrements the object's reference count. If the reference count reaches zero, the object is automatically deleted.


Public Member Functions

 NoElementsID ()
 Declare a NoElementsID.

 ~NoElementsID ()
 Release a NoElementsID.

 NoElementsID (const Null *)
 Initialise a NoElementsID to refer explicitly to null.

 NoElementsID (const NoElements *)
 Initialise a NoElementsID to refer to a NoElements.

 NoElementsID (const NoElementsID &)
 Initialise a NoElementsID to alias another NoElementsID.

NoElementsID & operator= (const NoElements *)
 Reassign this NoElementsID to refer to a NoElements.

NoElementsID & operator= (const NoElementsID &)
 Reassign this NoElementsID to alias another NoElementsID.

NoElementsoperator-> () const
 Invoke a method on this NoElementsID.


Constructor & Destructor Documentation

NoElementsID::NoElementsID  )  [inline]
 

Declare a NoElementsID.

Returns:
a null NoElementsID.

NoElementsID::~NoElementsID  )  [inline]
 

Release a NoElementsID.

NoElementsID::NoElementsID const Null null  )  [inline]
 

Initialise a NoElementsID to refer explicitly to null.

Parameters:
null - the null reference.
Returns:
a NoElementsID referring to null.

NoElementsID::NoElementsID const NoElements exception  )  [inline]
 

Initialise a NoElementsID to refer to a NoElements.

Parameters:
exception - the NoElements.
Returns:
a NoElementsID referring to the exception.

NoElementsID::NoElementsID const NoElementsID &  pointer  )  [inline]
 

Initialise a NoElementsID to alias another NoElementsID.

Parameters:
pointer - the other NoElementsID.
Returns:
a NoElementsID referring to the exception.


Member Function Documentation

NoElements * NoElementsID::operator->  )  const
 

Invoke a method on this NoElementsID.

Returns:
the result of the method.

Reimplemented from MethodErrorID.

NoElementsID & NoElementsID::operator= const NoElementsID &  pointer  )  [inline]
 

Reassign this NoElementsID to alias another NoElementsID.

Parameters:
pointer - the other NoElementsID.
Returns:
a NoElementsID referring to the same NoElements as the other NoElementsID.

NoElementsID & NoElementsID::operator= const NoElements exception  )  [inline]
 

Reassign this NoElementsID to refer to a NoElements.

Parameters:
exception - the NoElements.
Returns:
a NoElementsID referring to the exception.


The documentation for this class was generated from the following files:
Generated on Fri May 5 17:17:18 2006 for The Simons Component Library by doxygen1.3