#include <csstrvec.h>
Inheritance diagram for csStrVector:
Public Types | |
enum | { CASE_SENSITIVE, CASE_INSENSITIVE } |
Use these values as the Mode argument of QuickSort(), Compare(), and CompareKey() in order to control case sensitivity during sorting and comparison. More... | |
Public Methods | |
csStrVector (int ilimit=64, int ithreshold=64) | |
Constructor just passes control to csVector's. | |
virtual | ~csStrVector () |
Delete all inserted strings before deleting the object itself. | |
virtual bool | FreeItem (csSome Item) |
FreeItem deletes Item as if it was allocated by 'new char *[]'. | |
virtual int | Compare (csSome Item1, csSome Item2, int Mode) const |
Compare two array elements in given Mode. | |
virtual int | CompareKey (csSome Item, csConstSome Key, int Mode) const |
Compare two strings for equality (case-sensitive). | |
char* | Get (int n) const |
Overrided Get() to avoid type conversions. |
FreeItem () deletes vector elements using 'delete [] (char *)' operator.
|
Use these values as the Mode argument of QuickSort(), Compare(), and CompareKey() in order to control case sensitivity during sorting and comparison. |