Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

scfStrVector Class Reference

This class is a thin wrapper around csStrVector with SCF capability. More...

#include <scfstrv.h>

Inheritance diagram for scfStrVector:

iStrVector iBase List of all members.

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

Detailed Description

This class is a thin wrapper around csStrVector with SCF capability.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000