class vSList { public: //---------------------------------------- public vSList(int maxsize = 128); ~vSList(); void erase(); int size(); int insert(int insAt, char* strn); int replace(int repAt, char* strn); int deleteItem(int delAt); int max; char** list; };
This class is provided to make manipulation of lists used in C_List controls easier. You can find some good example code in the VIDE.
Erases the entire list. Deletes each item on the list, but leaves the space for list intact.
Returns the number of items on the list.
Inserts the string strn into the list at the point insAt. If insAt is less than zero, the item is appended to the end of the list.
Replaces the item at repAt with the new strn.
Deletes the item at delAt.
This is the maximum size of the list.
This is the actual list of pointers to the list strings. I suppose it really shouldn't be directly accessible, but it is.