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

  PUBLIC
RCAbstractC::RCAbstractC(void)
RCAbstractC::RCAbstractC(const RCAbstractC &)
RCAbstractC::RCAbstractC(BodyRefCounterVC &)
RCAbstractC::RCAbstractC(istream &)
RCAbstractC::Copy(void) const
RCAbstractC::Save(ostream &) const
RCAbstractC::BodyType(void) const
RCAbstractC::Dump(ostream &) const
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
RCAbstractC
 
Abstract handle class for any object derived from BodyRefCounterVC.
 
include "amma/RCAbstract.hh"
User Level:Default
Library:MRefC
Example:exBRefC.cc
Section:Basic Types.Refrence Counting
In Scope:std

Comments:
See RCWrapC<> for example.

Parent Classes: Methods:
RCAbstractC()
Default constructor.

RCAbstractC(const RCAbstractC & oth)
Copy constructor.

RCAbstractC(BodyRefCounterVC & oth)
Constructor.

RCAbstractC(istream & in)
Constructor.

RCAbstractC Copy() const
Copy object contents.
FIXME :- Use RTTI to check copy is full.

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

const type_info & BodyType() const
Type of object held.

void Dump(ostream & out) const
Dump info about handle

#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<BodyRefCounterVC> & operator=(const RCHandleC<BodyRefCounterVC> & oth)
Assignment.

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

BooleanT operator!=(const RCHandleC<BodyRefCounterVC> & 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.

BodyRefCounterVC & Body()
Direct access to body.

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


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001