#include <scfstrv.h>
Inheritance diagram for scfStrVector:
Public Methods | |
scfStrVector (int iLimit=16, int iDelta=16) | |
Create a iStrVector from scratch. | |
virtual | ~scfStrVector () |
Destructor - nothing to do. | |
virtual int | Length () const |
Query array length. | |
virtual void | Push (char *iValue) |
Push a string onto the stack. | |
virtual char* | Pop () |
Pop a string from the top of stack. | |
virtual char* | Get (int iIndex) const |
Get Nth string in vector. | |
virtual int | Find (const char *iValue) const |
Find index of given string. | |
virtual int | FindSorted (const char *iValue) const |
Find index of a string in a pre-sorted string array. | |
virtual void | QuickSort () |
Sort the string array. | |
virtual void | Delete (int iIndex) |
Delete Nth string in the array. | |
virtual void | Insert (int iIndex, char *iValue) |
Insert a string before Nth string in the array. | |
virtual void | DeleteAll () |
Delete all strings in array. | |
Public Attributes | |
SCF_DECLARE_IBASE |