![]() |
Public API Reference |
#include <scfstrv.h>
Inheritance diagram for scfStrVector:

Public Methods | |
| scfStrVector (int iLimit=16, int iDelta=16) | |
| Create a iStrVector from scratch. More... | |
| virtual | ~scfStrVector () |
| Destructor - nothing to do. More... | |
| virtual int | Length () const |
| Query array length. More... | |
| virtual void | Push (char *iValue) |
| Push a string onto the stack. More... | |
| virtual char * | Pop () |
| Pop a string from the top of stack. More... | |
| virtual char * | Get (int iIndex) const |
| Get Nth string in vector. More... | |
| virtual int | Find (const char *iValue) const |
| Find index of given string. More... | |
| virtual int | FindSorted (const char *iValue) const |
| Find index of a string in a pre-sorted string array. More... | |
| virtual void | QuickSort () |
| Sort the string array. More... | |
| virtual void | Delete (int iIndex) |
| Delete Nth string in the array. More... | |
| virtual void | Insert (int iIndex, char *iValue) |
| Insert a string before Nth string in the array. More... | |
| virtual void | DeleteAll () |
| Delete all strings in array. More... | |
Definition at line 27 of file scfstrv.h.
|
||||||||||||
|
Create a iStrVector from scratch.
Definition at line 35 of file scfstrv.h. References SCF_CONSTRUCT_IBASE. |
|
|
Destructor - nothing to do.
|
|
|
Delete Nth string in the array.
Implements iStrVector. |
|
|
Delete all strings in array.
Implements iStrVector. |
|
|
Find index of given string.
Implements iStrVector. |
|
|
Find index of a string in a pre-sorted string array.
Implements iStrVector. |
|
|
Get Nth string in vector.
Implements iStrVector. |
|
||||||||||||
|
Insert a string before Nth string in the array.
Implements iStrVector. |
|
|
Query array length.
Implements iStrVector. |
|
|
Pop a string from the top of stack.
Implements iStrVector. |
|
|
Push a string onto the stack.
Implements iStrVector. |
|
|
Sort the string array.
Implements iStrVector. |