Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Reference Counting - RCAbstractC
 

  PUBLIC
RCAbstractC::RCAbstractC(void)
RCAbstractC::RCAbstractC(const RCAbstractC &)
RCAbstractC::RCAbstractC(RCBodyVC &)
RCAbstractC::RCAbstractC(istream &)
RCAbstractC::Copy(void) const
RCAbstractC::Save(ostream &) const
RCAbstractC::BodyType(void) const
RCAbstractC::Dump(ostream &) const
RCAbstractC::Body(void)
RCAbstractC::Body(void) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   RCAbstractC   
 
Abstract handle class for any object derived from RCBodyVC.
 
include "Ravl/RCAbstract.hh"
Created:28/05/1998 
Source file:Ravl/Core/Base/RCAbstract.hh
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
See RCWrapC<> for example.

Parent Classes: Methods:
RCAbstractC()
Default constructor.

RCAbstractC(const RCAbstractC & oth)
Copy constructor.

RCAbstractC(RCBodyVC & oth)
Constructor.

RCAbstractC(istream & in)
Constructor.

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

bool 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

RCBodyVC & Body()
Access body.

const RCBodyVC & Body() const
Access body.

#include "Ravl/RefCounter.hh"
const RCHandleC<RCBodyVC> & operator =(const RCHandleC<RCBodyVC> & oth)
Assign handle.

RCHandleC<RCBodyVC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<RCBodyVC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<RCBodyVC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

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

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

RCBodyVC & Body()
Access body of object.

const RCBodyVC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<RCBodyVC> & obj)

istream & operator >>(istream & strm,RCHandleC<RCBodyVC> & obj)


Maintainer:Charles Galambos, Created: 28/05/1998, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002