Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Type Converter - DPTypeInfoInstC<class DataT>
 

  PUBLIC
DPTypeInfoInstC::DPTypeInfoInstC(DPTypeInfoInstBodyC &)
DPTypeInfoInstC::DPTypeInfoInstC(void)
DPTypeInfoC::Body(void)
DPTypeInfoC::Body(void) const
DPTypeInfoC::Name(void) const
DPTypeInfoC::TypeInfo(void) const
DPTypeInfoC::Create(void) const
DPTypeInfoC::Create(istream &) const
DPTypeInfoC::Put(DPOPortBaseC &,const RCWrapAbstractC &) throw
DPTypeInfoC::Get(DPIPortBaseC &) throw
DPTypeInfoC::CreateIPipe(const DPEntityC &) const
DPTypeInfoC::CreateOPipe(const DPEntityC &) const
DPTypeInfoC::Hash(void) const
DPEntityC::operator =(const DPEntityC &)
DPEntityC::Body(void)
DPEntityC::Body(void) const
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 &)

   DPTypeInfoInstC<class DataT>   
 
Type information instance body.
 
include "Ravl/DP/TypeInfo.hh"
Created:19/08/1998 
Source file:Ravl/Core/IO/TypeInfo.hh
User Level:Normal
Library:RavlIO
In Scope:RavlN

Comments:
This class holds meta information about C++ types.

Including methods which will do operation with abstract handles such as loading and saving from a file. See RCWrapC for information about how the abstract handles work.

Parent Classes: Methods:
DPTypeInfoInstC(DPTypeInfoInstBodyC<DataT> & bod)
Body constructor.

DPTypeInfoInstC()
Default constructor.

DPTypeInfoBodyC & Body()
Access body.

const DPTypeInfoBodyC & Body() const
Access body.

StringC Name() const
Get name of type.

const type_info & TypeInfo() const
Access type information.

RCWrapAbstractC Create() const
Create instance of the type with the default constructor.

RCWrapAbstractC Create(istream & in) const
Create instance of the type with the default constructor.

bool Put(DPOPortBaseC & port,const RCWrapAbstractC & obj) throw
Put generic object to port.
Will throw ExceptionErrorCastC if types aren't correct, or in debug mode an assert may fail.

RCWrapAbstractC Get(DPIPortBaseC & port) throw
Get generic object from port.
Will throw ExceptionErrorCastC if types aren't correct, or in debug mode an assert may fail.

DPIPipeBaseC CreateIPipe(const DPEntityC & hold = DPEntityC (true)) const
Create an input pipe for this type.

DPOPipeBaseC CreateOPipe(const DPEntityC & hold = DPEntityC (true)) const
Create an output pipe for this type.

UIntT Hash() const
Calculate hash value.

#include "Ravl/DP/Entity.hh"
const DPEntityC & operator =(const DPEntityC & dat)
Assignment.

DPEntityBodyC & Body()
Access body.

const DPEntityBodyC & Body() const
Access body.

#include "Ravl/RCHandleV.hh"
const DPEntityBodyC & Body() const
Constant access to body of object.

DPEntityBodyC & 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<DPEntityBodyC> & obj)

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

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

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

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

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

DPEntityBodyC & Body()
Access body of object.

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

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


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