31 #include "hpl1/engine/system/SystemTypes.h" 33 #include "hpl1/engine/graphics/GraphicsTypes.h" 34 #include "hpl1/engine/math/MathTypes.h" 63 static tWString SubW(
const tWString &asString,
int alStart,
int alCount = -1);
129 static tString ToString(
const char *asString,
const tString &asDefault);
130 static int ToInt(
const char *asString,
int alDefault);
131 static bool ToBool(
const char *asString,
bool abDefault);
132 static float ToFloat(
const char *asString,
float afDefault);
133 static cColor ToColor(
const char *asString,
const cColor &aDefault);
138 static cMatrixf ToMatrixf(
const char *asString,
const cMatrixf &a_mtxDefault);
140 static tString ToString(
int alX);
141 static tString ToString(
float afX);
144 static tWString ToStringW(
float afX);
196 static int GetLastStringPosW(
const tWString &aString,
const tWString &aChar);
198 static void UIntStringToArray(
unsigned int *apArray,
const char *apString,
int alSize);
199 static void FloatStringToArray(
float *apArray,
const char *apString,
int alSize);
206 #endif // HPL_STRING_H static tString GetFileExt(const tString &aString)
static tIntVec & GetIntVec(const tString &asData, tIntVec &avVec, tString *apSeparators=NULL)
static tString SetFilePath(const tString &aString, tString aPath)
static tString ToLowerCase(tString aString)
static tString SetFileExt(tString aString, tString aExt)
static int GetLastStringPos(const tString &aString, const tString &aChar)
static tString GetFilePath(const tString &aString)
static tWString Get16BitFromArray(const tString &asArray)
static tString ReplaceStringTo(const tString &aString, const tString &asOldString, const tString &asNewString)
static tFloatVec & GetFloatVec(const tString &asData, tFloatVec &avVec, tString *apSeparators=NULL)
static tString GetFileName(const tString &aString)
static tString Sub(const tString &asString, int alStart, int alCount=-1)
static tString To8Char(const tWString &awsString)
static tString GetLastChar(const tString &aString)
static tStringVec & GetStringVec(const tString &asData, tStringVec &avVec, tString *apSeparators=NULL)
static tString ReplaceCharTo(tString aString, const tString &asOldChar, const tString &asNewChar)
static tWString To16Char(const tString &asString)
static tUIntVec & GetUIntVec(const tString &asData, tUIntVec &avVec, tString *apSeparators=NULL)