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

  PUBLIC
VLExprLabelC::VLExprLabelC(void)
VLExprLabelC::VLExprLabelC(const VLExprLabelC &)
VLExprLabelC::VLExprLabelC(VLExprLabel &)
VLExprLabelC::VLExprLabelC(StringC,BooleanT)
VLExprLabelC::VLExprLabelC(StringC,VLExprTypeC &)
VLExprLabelC::IsArgTyped(void) const
VLExprLabelC::IsSymbsOnly(void) const
VLExprLabelC::SetSymbsOnly(BooleanT)
VLExprLabelC::GetArgType(void) const
VLExprLabelC::SetValType(VLExprTypeC &)
VLExprLabelC::GetIndexPri(void) const
VLExprLabelC::SetIndexPri(int)
VLExprLabelC::GetName(StringC) const
VLExprLabelC::Name(void) const
VLExprLabelC::GetLabelName(void) const
VLExprLabelC::Hash(void) const
VLExprLabelC::StringMap(void)
VLExprLabelC::Body(void)
VLExprLabelC::Body(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
VLExprLabelC
 
Expression label handle.
 
include "amma/Logic2/LExprLab.hh"
User Level:Default
Library:VLBasic
Example:SockServer.cc
Section:Logic.Basic
In Scope:std

Parent Classes:

Methods:
VLExprLabelC()
Default constructor.
Creates an invalid handle.

VLExprLabelC(const VLExprLabelC & oth)
Copy constructor.

VLExprLabelC(VLExprLabel & oth)
Body Constructor.

VLExprLabelC(StringC name,BooleanT unique = FALSE)
Construct a named label.
If unique is false, the label will be entered in a global table and reused every time a symbol of that name is requested.

Otherwise the label will just be created with the given name.


VLExprLabelC(StringC name,VLExprTypeC & typed)
Construct a named, typed label

BooleanT IsArgTyped() const
Does argument have a preset type ?

BooleanT IsSymbsOnly() const
Will arg contain only simple symbols only ?
Use in indexing.

void SetSymbsOnly(BooleanT val = TRUE)
Set symbol only flag.

VLExprTypeC GetArgType() const
Get type of arg.

void SetValType(VLExprTypeC & nType)
Set type of arg.

int GetIndexPri(void) const
Get indexing priority.

void SetIndexPri(int Val)
Set indexing priority.
Use to give hints to the expression matcher.

StringC GetName(StringC Buff = StringC()) const
Get label name and type.

StringC Name() const
Get label name and type.

StringC GetLabelName() const
Get label name.

UIntT Hash() const
Get a hash value.

HashARC<StringC,VLExprLabelC> & StringMap()
Map Strings to ExprLabel's
FIXME :- If we want the logic library to be multi-threaded then this needs a semaphore. protected:

VLExprLabel & Body()
Get refrence to label.

const VLExprLabel & Body() const
Get refrence to label.

#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<VLExprLabel> & operator=(const RCHandleC<VLExprLabel> & oth)
Assignment.

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

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

VLExprLabel & Body()
Direct access to body.

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


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