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

FactorySetC::FactorySetC(const StringC &)
FactorySetC::Load(const StringC &)
FactorySetC::LookupFactory(const StringC &,FactoryC &) const
FactorySetC::Create(const StringC &)
FactorySetC::List(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 &)

Set of factories.
include "Ravl/DF/FactorySet.hh"
User Level:Normal
In Scope:RavlDFN

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

FactorySetC(const StringC & fn)
Load from a file.

bool Load(const StringC & fn)
Load a factory descriptor file.

bool LookupFactory(const StringC & tag,FactoryC & factory) const
Lookup factory with given tag.
Returns true if the factory is found.

DFObjectC Create(const StringC & tag)
Create an object of type 'tag'
If the tag is not found an invalid handle is returned.

DListC<FactoryC> List() const
Create a list of factories.

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

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

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

bool operator !=(const RCHandleC<FactorySetBodyC> & 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<FactorySetBodyC> & obj)

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

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