|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Derived Classes:
Methods:
- VLIndexC()
-
Default constuctor.
Creates an invalid handle.
- VLIndexC(BooleanT newBody)
-
Default constuctor.
- VLIndexC(const VLIndexC<T> & oth)
-
Copy constuctor.
Copy the handle.
- VLIndexC<T> Copy() const
-
Make a shallow copy of index.
Copy index itself but not the data or the keys.
- BooleanT Add(const VLSymbC & cnd,const T & data)
-
Add a new item to the index.
Ret:False = Not new item.
- BooleanT Add(const VLExprC & cnd,const T & data)
-
Add a new item to the index.
Ret:False = Not new item.
- BooleanT Match(const VLExprC & sxpr,VLBindLst & bnd,T & data) const
-
Unify expression match.
- BooleanT Match(const VLSymbC & symb,VLBindLst & bnd,T & data) const
-
Unify symbol match.
- BooleanT Match(const VLSymbC & symb,T & data) const
-
Exact match !
- T & operator[](const VLSymbC & cnd)
-
Index operator.
- T operator[](const VLSymbC & cnd) const
-
Index operator.
- int Size(void) const
-
Get number of items in the index.
- VLIndexBaseC Copy() const
-
Make a shallow copy of index.
Copy index itself but not the data or the keys.
- void Empty()
-
Empty index.
- BooleanT IsEmpty() const
-
Is index empty ?
- BooleanT HasExpr() const
-
Does index have any expressions in it.
For debuging only
- BooleanT Del(const VLSymbC & cnd)
-
Delete an item to the index.
Ret:False = Not found.
- RCWrapBaseC BaseMatch(const VLSymbC & symb) const
-
Exact match !
- BooleanT IsMember(const VLSymbC & symb) const
-
Is symb in the index. ?
- BooleanT IsMember(const VLSymbC & symb,VLBindLst & bnds) const
-
Is symb in the index. ?
- 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<VLCIndex> & operator=(const RCHandleC<VLCIndex> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<VLCIndex> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<VLCIndex> & 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.
- VLCIndex & Body()
-
Direct access to body.
- const VLCIndex & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|