|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This is designed to be very fast & small. It's mainly for use
in real-time applications, has much less functionality than
DListC<>, and is less safe. In some situations may not even be
much faster.
This is a SMALL object. No refrence counting.
Variables:
- SLListElemC * PFirst;
-
First in list.
Methods:
- SLListC()
-
Default constructor.
This creates an empty list.
- SLListC(const SLListC & Oth)
-
- ~SLListC()
-
Destructor.
- T & First(void)
-
Get first element in list. IsEmpty() must be FALSE.
- const T & First(void) const
-
Get first element in list. IsEmpty() must be FALSE.
- T & Last(void)
-
Get last element in list. IsEmpty() must be FALSE.
- const T & Last(void) const
-
Get last element in list. IsEmpty() must be FALSE.
- T GetFirst(void) const
-
Get copy of first element. IsEmpty() must be FALSE.
- T GetLast(void) const
-
Get copy of first element. IsEmpty() must be FALSE.
- void InsFirst(const T & Data)
-
Insert data first in list.
- void InsLast(const T & Data)
-
Insert data last in list. (SLOW)
- BooleanT DelFirst(void)
-
Delete first element of list.
- BooleanT DelLast(void)
-
Delete last element of list.
- void Empty(void)
-
Empty all data out of list.
- BooleanT IsEmpty(void) const
-
Test if the list is empty.
- SLListC<T> & operator=(const SLListC<T> & Oth)
-
make a copy of another list into this one.
- void MoveLast(SLListC<T> & Other)
-
Move contents of 'Other' list to end of this one.
Leaves 'Other' list empty.
- void MoveFirst(SLListC<T> & Other)
-
Move contents of 'Other' list to the begining of this one.
Leaves 'Other' list empty.
- void MoveFirstElm2Here(SLListC<T> & Oth)
-
Move first element of another list into this one.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|