|
The member functions are based on the MFC CObList class, though the implementation differs greatly. In particular no exceptions are thrown as all new items are allocated by someone else and some of the types have changed. An instance of the list class will be something like a list of fonts, and list of undo records etc. Remove functions don't actually de-allocate anything, they just remove items from the list.
- Author:
- Mario_Shamtani (Xara Group Ltd) <camelotdev@xara.com>
- Date:
- 13/4/1993 Base Class: CObject Friends: ListItem
Notes: Two ways of using a list item are provided: by pointer-to-item, and by item-index. The latter is very slow on average compared to the former because the list must be scanned each time to find a LISTPOS. Thus, use the pointer method where possible.
- Returns:
- Errors: None.
Definition at line 144 of file list.h. |