|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This does not intalise data before it's needed.
SMALL OBJECT
Variables:
Methods:
- SDArray1dC(UIntT Initsize = 0)
-
Constructor.
- SDArray1dC(const SDArray1dC<T> & Oth)
-
Copy constructor.
- SDArray1dC(const SDArray1dC<T> & Oth,IntT Delta)
-
- ~SDArray1dC()
-
Destructor.
- void Resize(UIntT size)
-
Resize SDArray1d.
- void Empty(void)
-
Remove all contents.
- UIntT Add(const T & Data)
-
Append data to end.
Returns the index of the appended item.
This function will automaticly expand the array
if necessary.
- UIntT Chop(void)
-
Chop last number from array.
NB. This does NOT shrink the array in the current
implementation, this may change in future.
- T & operator[](UIntT i)
-
Access element.
- const T & operator[](UIntT i) const
-
Access element.
- T & operator[](IndexC i)
-
Access element.
- const T & operator[](IndexC i) const
-
Access element.
- const SDArray1dC<T> & operator=(const SDArray1dC<T> & Oth)
-
Assign to another SDArray1d.
- const T & Last() const
-
Get last element in array.
- BooleanT Compair(const SDArray1dC<T> & Oth) const
-
Compair with another SDArray1d.
- BooleanT operator==(const SDArray1dC<T> & Oth) const
-
Comparison.
- UIntT N(void) const
-
Number of elements used.
- UIntT Size(void) const
-
Number of elements used.
- UIntT MaxN(void) const
-
Number of elements used.
- BooleanT IsSpace() const
-
Is space for more data ?
- BooleanT IsEmpty() const
-
Is empty ?
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|