|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
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.
- 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:49:27 2001
|