User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DPTypeInfoC::DPTypeInfoC(void)
DPTypeInfoC::DPTypeInfoC(const type_info &)
DPTypeInfoC::DPTypeInfoC(DPTypeInfoBodyC &)
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 RCWrapBaseC &) 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
DPEntityC::Save(ostream &) const
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
DPTypeInfoC
 
Type information handle.
 
include "amma/DP/TypeInfo.hh"
User Level:Default
Library:DataConv
Example:exFileFormat.cc
Section:Data Processing.Type Conversion
In Scope:std

Parent Classes:

Derived Classes: Methods:
DPTypeInfoC()
Default constructor.

DPTypeInfoC(const type_info &)
Lookup type.
Creates an invalid handle if failed.

DPTypeInfoC(DPTypeInfoBodyC & bod)
Body 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.

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

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

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

RCWrapBaseC Get(DPIPortBaseC & port) throw
Get generic object from port.
Will throw ErrorCastC 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 "amma/DP/Entity.hh"
const DPEntityC & operator=(const DPEntityC & dat)
Assignment.

DPEntityBodyC & Body()
Access body.

const DPEntityBodyC & Body() const
Access body.

BooleanT Save(ostream & out) const

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

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

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

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<DPEntityBodyC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<DPEntityBodyC> & operator=(const RCHandleC<DPEntityBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<DPEntityBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<DPEntityBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

DPEntityBodyC & Body()
Direct access to body.

const DPEntityBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001