|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
SMALL OBJECT
Variables:
- VLIndexC ids;
-
- BHashIntC tab;
-
Methods:
- VLBIndexC()
-
Default constructor.
Creates a new table.
- VLBIndexC(const VLBIndexC<T> & oth,BooleanT ShareIDOnly = FALSE)
-
Copy constructor.
If ShareIDOnly is TRUE then a new index is created, which shares
the ID index of the old table but not its contents. Usefull if
you wish to make several indexs with similar sets of keys.
- VLBIndexC(const VLIndexC<IntC> & ids)
-
Construct using a given id Index.
Otherwise creates a new index, another way of doing share only.
see above.
- VLBIndexC<T> DeepCopy() const
-
Make a deep copy of the index.
- BooleanT Add(const VLSymbC & Cnd,const T & Data)
-
Add a new item to the index.
Ret:False = Not new item.
- T & operator[](const VLSymbC & cnd)
-
Lookup an entry.
Creates a new entry if one doesn't exist.
- BooleanT IsEmpty() const
-
Is table empty ?
- UIntT Size() const
-
How many entries ?
- BooleanT UseIndex(const VLIndexC<IntC> & ids)
-
Use another index, you can only use this
function if there are no entries in the table.
- const VLIndexC<IntC> & IdIndex() const
-
Get ID index.
- VLBIndexC(const VLIndexC<IntC> & ids,const BHashIntC<T> & ntab)
-
Construct using an index and a table.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|