Planeshift
Classes | Functions

strutil.h File Reference

#include <csutil/array.h>
#include <csutil/stringarray.h>
#include <csutil/csstring.h>
#include <csgeom/vector3.h>
#include <iengine/sector.h>
#include <csgeom/matrix3.h>
#include <csgeom/transfrm.h>
#include <csutil/stringconv.h>

Go to the source code of this file.

Classes

class  WordArray
 WordArray is class that parses text command (e.g. More...

Functions

csString & GetWordNumber (const csString &str, int number, size_t *startpos=NULL)
 Return the given word number.
bool isFlagSet (const psString &flagstr, const char *flag)
const char * PS_GetFileName (const char *path)
bool psContain (const csString &str, const csArray< csString > &strs)
bool psSentenceContain (const csString &sentence, const csString &word)
csArray< csString > psSplit (csString &str, char delimer)
csArray< csString > psSplit (const char *str, char delimer)
void Split (const csString &str, csArray< csString > &arr)
 Split a csString into an array of sctrings.
csArray< csString > splitTextInLines (csString inText, size_t maxLineLength, int &maxRowLen)
 Split text into multiple lines.
csString toString (const csVector4 &pos)
csString toString (const csMatrix3 &mat)
csString toString (const csTransform &trans)
csString toString (const csVector2 &pos)
csString toString (const csVector3 &pos)
csString toString (const csVector3 &pos, iSector *sector)