User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Type Converter - DPTypeInfoInstBodyC<class DataT>
 

  PUBLIC
DPTypeInfoInstBodyC::DPTypeInfoInstBodyC(void)
DPTypeInfoInstBodyC::Create(void) const
DPTypeInfoInstBodyC::Create(istream &) const
DPTypeInfoInstBodyC::Load(const StringC &,const StringC &,bool) const
DPTypeInfoInstBodyC::Put(DPOPortBaseC &,const RCWrapAbstractC &) throw
DPTypeInfoInstBodyC::Get(DPIPortBaseC &) throw
DPTypeInfoInstBodyC::CreateIPipe(const DPEntityC &) const
DPTypeInfoInstBodyC::CreateOPipe(const DPEntityC &) const
DPTypeInfoBodyC::Name(void) const
DPTypeInfoBodyC::TypeInfo(void) const
DPTypeInfoBodyC::Create(void) const
DPTypeInfoBodyC::Create(istream &) const
DPTypeInfoBodyC::Load(const StringC &,const StringC &,bool) const
DPTypeInfoBodyC::Put(DPOPortBaseC &,const RCWrapAbstractC &) throw
DPTypeInfoBodyC::Get(DPIPortBaseC &) throw
DPTypeInfoBodyC::CreateIPipe(const DPEntityC &) const
DPTypeInfoBodyC::CreateOPipe(const DPEntityC &) const
DPTypeInfoBodyC::Types(void)
DPTypeInfoBodyC::Hash(void) const
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DPTypeInfoInstBodyC<class DataT>   
 
Type information instance body.
 
include "Ravl/DP/TypeInfo.hh"
Created:19/08/1998 
User Level:Develop
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:
DPTypeInfoInstBodyC()
Default constructor.

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

RCWrapAbstractC Create(istream & strm) const
Create instance of the type from stream constructor.

RCWrapAbstractC Load(const StringC & fn,const StringC & fmtName = "",bool verb = false) const
Attempt to load object from a file.

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

DPOPipeBaseC CreateOPipe(const DPEntityC & hold = DPEntityC (true)) const
Create an output pipe

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 & strm) const
Create instance of the type from stream constructor.

RCWrapAbstractC Load(const StringC & fn,const StringC & fmtName = "",bool verb = false) const
Attempt to load object from a file.

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.

static HashC<const char *,DPTypeInfoC> & Types()
Access type list.

UIntT Hash() const
Calculate hash value.

#include "Ravl/DP/Entity.hh"
bool Save(ostream & out) const
Save to ostream.

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

RCBodyVC & Copy() const
Creat a copy of this object.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

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

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


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