Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
RCHandleC::RCHandleC(void)
RCHandleC::RCHandleC(const RCHandleC &)
RCHandleC::RCHandleC(const Bod &)
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::RCHandleC(Bod &)
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC<class Bod>
 
Template for a hanle class.
 
include "amma/RCHandle.hh"
User Level:Default
Library:MRefC
Example:exBRefC.cc
Section:Basic Types.Refrence Counting
In Scope:std

Comments:
'Bod' must be derived from BodyRefCounterC.

Derived Classes: Variables:
BRCPtrC body;

Methods:
RCHandleC()
Default constructor.

RCHandleC(const RCHandleC<Bod> & oth)
Copy constructor.

RCHandleC(const Bod & dat)
Create copy of another body.

BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<Bod> & operator=(const RCHandleC<Bod> & oth)
Assignment.

BooleanT operator==(const RCHandleC<Bod> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<Bod> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

RCHandleC(Bod & newbod)
Constructor.

void Invalidate()
Turn this into an invalid handle.

Bod & Body()
Direct access to body.

const Bod & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001