CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iStrVector Struct Reference
[Utilities]

This is a SCF-compatible interface for csStrVector. More...

#include <strvec.h>

Inheritance diagram for iStrVector:

iBase scfStrVector List of all members.

Public Methods

virtual int Length () const=0
 Query array length. More...

virtual void Push (char *iValue)=0
 Push a string onto the stack. More...

virtual char * Pop ()=0
 Pop a string from the top of stack. More...

virtual char * Get (int iIndex) const=0
 Get Nth string in vector. More...

virtual int Find (const char *iValue) const=0
 Find index of given string. More...

virtual int FindSorted (const char *iValue) const=0
 Find index of a string in a pre-sorted string array. More...

virtual void QuickSort ()=0
 Sort the string array. More...

virtual void Delete (int iIndex)=0
 Delete Nth string in the array. More...

virtual void Insert (int iIndex, char *iValue)=0
 Insert a string before Nth string in the array. More...

virtual void DeleteAll ()=0
 Delete all strings in array. More...


Detailed Description

This is a SCF-compatible interface for csStrVector.

Definition at line 33 of file strvec.h.


Member Function Documentation

virtual void iStrVector::Delete int    iIndex [pure virtual]
 

Delete Nth string in the array.

Implemented in scfStrVector.

virtual void iStrVector::DeleteAll   [pure virtual]
 

Delete all strings in array.

Implemented in scfStrVector.

virtual int iStrVector::Find const char *    iValue const [pure virtual]
 

Find index of given string.

Implemented in scfStrVector.

virtual int iStrVector::FindSorted const char *    iValue const [pure virtual]
 

Find index of a string in a pre-sorted string array.

Implemented in scfStrVector.

virtual char* iStrVector::Get int    iIndex const [pure virtual]
 

Get Nth string in vector.

Implemented in scfStrVector.

virtual void iStrVector::Insert int    iIndex,
char *    iValue
[pure virtual]
 

Insert a string before Nth string in the array.

Implemented in scfStrVector.

virtual int iStrVector::Length   const [pure virtual]
 

Query array length.

Implemented in scfStrVector.

virtual char* iStrVector::Pop   [pure virtual]
 

Pop a string from the top of stack.

Implemented in scfStrVector.

virtual void iStrVector::Push char *    iValue [pure virtual]
 

Push a string onto the stack.

Implemented in scfStrVector.

virtual void iStrVector::QuickSort   [pure virtual]
 

Sort the string array.

Implemented in scfStrVector.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14