Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Reference Counting - RCHandleVC<class BodyT>
 

  PUBLIC
RCHandleVC::RCHandleVC(void)
RCHandleVC::RCHandleVC(const RCAbstractC &)
RCHandleVC::RCHandleVC(BodyT &)
RCHandleVC::RCHandleVC(BodyT *)
RCHandleVC::Body(void) const
RCHandleVC::Body(void)
RCHandleVC::Save(ostream &) const
RCHandleVC::Save(BinOStreamC &) const
RCHandleVC::Abstract(void)
RCHandleVC::operator >>(istream &,RCHandleVC &)
RCHandleVC::operator >>(BinIStreamC &,RCHandleVC &)
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 &)

   RCHandleVC<class BodyT>   
 
Handle from objects derived from RCBodyVC.
 
include "Ravl/RCHandleV.hh"
Source file:Ravl/Core/Base/RCHandleV.hh
User Level:Normal
Library:RavlCore
Example:exRefCounterInherit.cc
In Scope:RavlN

Parent Classes: Derived Classes: Methods:
RCHandleVC()
Default constructor.
Creates an invalid handle.

RCHandleVC(const RCAbstractC & oth)
Copy Constructor.
Creates a new reference to 'oth'

RCHandleVC(BodyT & bod)
Body constructor.

RCHandleVC(BodyT * bod)
Construct from a body pointer.
The pointer may be 0.

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

BodyT & Body()
Constant access to body of object.

bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCAbstractC Abstract()
Create an abstract handle.

istream & operator >>(istream & strm,RCHandleVC<BodyT> & obj)

BinIStreamC & operator >>(BinIStreamC & strm,RCHandleVC<BodyT> & obj)

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

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

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

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

BodyT & Body()
Access body of object.

const BodyT & 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<BodyT> & obj)

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


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002