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

  PUBLIC
RCHandleAC::RCHandleAC(void)
RCHandleAC::RCHandleAC(const RCHandleAC &)
RCHandleAC::RCHandleAC(const RCAbstractC &,BooleanT) throw
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleAC::RCHandleAC(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::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleAC<class Bod>
 
RCHanleC with extentions to use abstract handles.
 
include "amma/RCHandleA.hh"
User Level:Default
Library:MRefC
Example:exBRefC.cc
Section:Basic Types.Refrence Counting
In Scope:std

Comments:
NOTE: Bod must be derived from BodyRefCounterVC !

Parent Classes: Derived Classes: Methods:
RCHandleAC()
Default constructor.

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

RCHandleAC(const RCAbstractC & oth,BooleanT mustBeValid = TRUE) throw
Construct from an abstract handle.
NOTE: if the object isn't of the appropriate type, an exception will be thrown.

RCAbstractC Abstract()
Create an abstract handle to this object.

BooleanT IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<Bod> Copy() const
Creat a deep copy of this object.
protected:

RCHandleAC(Bod & newbod)

#include "amma/RCHandle.hh"
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:

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