|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This iterator works from shorter to longer combinations
progressively.
SMALL OBJECT
Variables:
Methods:
- CombIterC(IntT nStartLen = 1)
-
Default constructor.
- CombIterC(const DListC<DataT> & items,IntT nStartLen = 1)
-
Constructor.
- CombIterC(const CombIterC<DataT> & oth)
-
Copy constructor.
This is a medium depth copy, it only
copies enough to get an independant iteration
of combination. The items list is NOT copied,
so modifying it will affect the iterator.
- const CombIterC<DataT> & operator=(const DListC<DataT> & items)
-
Assign to new list.
Does an implicit First().
- BooleanT IsElm() const
-
Is there a valid combination ?
- DListC<DataT> & Data()
-
Current combination.
- IntT CombSize() const
-
Get number of items in current combination.
- BooleanT First()
-
Goto first combination.
Returns FALSE if none.
- BooleanT Next()
-
Goto next combination.
Returns FALSE if none.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|