User Documentation
RAVL, Recognition And Vision Library
Ravl - Applications - VDF - DFAttachC

DFAttachC::DFAttachC(const DFObjectC &,const Index2dC &,DFAttachPlacementT)
DFAttachC::DFAttachC(const DFObjectC &,DFAttachPlacementT)
DFAttachC::DFAttachC(BinIStreamC &)
DFAttachC::DFAttachC(istream &)
DFAttachC::Save(ostream &) const
DFAttachC::Save(BinOStreamC &) const
DFAttachC::Offset(void) const
DFAttachC::Object(void) const
DFAttachC::Placement(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::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

Attachment point descriptor.
include "Ravl/DF/DFObject.hh"
User Level:Normal
In Scope:RavlDFN

Parent Classes: Methods:
Default constructor.
creates an invalid handle.

DFAttachC(const DFObjectC & object,const Index2dC & offset,DFAttachPlacementT placement = ATTACH_FLOAT)
Attachment point.

DFAttachC(const DFObjectC & object,DFAttachPlacementT placement = ATTACH_FLOAT)
Attachment point.

DFAttachC(BinIStreamC & strm)
Load from stream.

DFAttachC(istream & strm)
Load from stream.

bool Save(ostream & out) const
Writes object to stream, can be loaded using constructor

bool Save(BinOStreamC & out) const
Writes object to stream, can be loaded using constructor

const Index2dC & Offset() const
Offset of attachment point.

Index2dC & Offset()
Offset of attachment point.

const DFObjectC & Object() const
Attached object.

DFObjectC & Object()
Attached object.

DFAttachPlacementT Placement() const
Get placement.

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

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

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

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

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

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

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

Maintainer:Charles Galambos, Created: 2/8/2002, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002