HPL3/SOMA/Scripting/Scripting Api/cString
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Summary
- 2 Function Detail
- 2.1 cString_AddSlashAtEnd
- 2.2 cString_AddSlashAtEndW
- 2.3 cString_CheckWildcardStrings
- 2.4 cString_CountCharsInString
- 2.5 cString_CountCharsInStringW
- 2.6 cString_Get16BitFromArray
- 2.7 cString_GetFileExt
- 2.8 cString_GetFileExtW
- 2.9 cString_GetFileName
- 2.10 cString_GetFileNameW
- 2.11 cString_GetFilePath
- 2.12 cString_GetFilePathTopFolder
- 2.13 cString_GetFilePathTopFolderW
- 2.14 cString_GetFilePathW
- 2.15 cString_GetFirstCharPos
- 2.16 cString_GetFirstStringPos
- 2.17 cString_GetFirstStringPosW
- 2.18 cString_GetFloatVec
- 2.19 cString_GetHash
- 2.20 cString_GetHash64
- 2.21 cString_GetHash64W
- 2.22 cString_GetHashW
- 2.23 cString_GetIntVec
- 2.24 cString_GetLastChar
- 2.25 cString_GetLastCharPos
- 2.26 cString_GetLastCharW
- 2.27 cString_GetLastStringPos
- 2.28 cString_GetLastStringPosW
- 2.29 cString_GetNumericSuffix
- 2.30 cString_GetNumericSuffixFloat
- 2.31 cString_GetNumericSuffixFloatW
- 2.32 cString_GetNumericSuffixInt
- 2.33 cString_GetNumericSuffixIntW
- 2.34 cString_GetNumericSuffixW
- 2.35 cString_GetStringVec
- 2.36 cString_RemoveSlashAtEnd
- 2.37 cString_RemoveSlashAtEndW
- 2.38 cString_ReplaceCharTo
- 2.39 cString_ReplaceCharToW
- 2.40 cString_ReplaceStringTo
- 2.41 cString_ReplaceStringToW
- 2.42 cString_S16BitToUTF8
- 2.43 cString_SetFileExt
- 2.44 cString_SetFileExtW
- 2.45 cString_SetFilePath
- 2.46 cString_SetFilePathW
- 2.47 cString_Sub
- 2.48 cString_SubW
- 2.49 cString_To16Char
- 2.50 cString_To8Char
- 2.51 cString_ToBool
- 2.52 cString_ToColor
- 2.53 cString_ToFloat
- 2.54 cString_ToInt
- 2.55 cString_ToLowerCase
- 2.56 cString_ToLowerCaseW
- 2.57 cString_ToMatrixf
- 2.58 cString_ToString
- 2.59 cString_ToString
- 2.60 cString_ToStringW
- 2.61 cString_ToStringW
- 2.62 cString_ToUpperCase
- 2.63 cString_ToUpperCaseW
- 2.64 cString_ToVector2f
- 2.65 cString_ToVector2l
- 2.66 cString_ToVector3f
- 2.67 cString_ToVector3l
- 2.68 cString_ToVector4f
Summary
Return Type | Function and Description |
---|---|
tString | cString_AddSlashAtEnd(const tString &in asPath) |
tWString | cString_AddSlashAtEndW(const tWString &in asPath) |
bool | cString_CheckWildcardStrings(const tString &in asStr, const tString &in asWildcardStr, array<tString> &in avSubStringArray) |
int | cString_CountCharsInString(const tString &in aString, const tString &in aChar) |
int | cString_CountCharsInStringW(const tWString &in aString, const tWString &in aChar) |
tWString | cString_Get16BitFromArray(const tString &in asArray) |
tString | cString_GetFileExt(const tString &in aString) |
tWString | cString_GetFileExtW(const tWString &in aString) |
tString | cString_GetFileName(const tString &in aString) |
tWString | cString_GetFileNameW(const tWString &in aString) |
tString | cString_GetFilePath(const tString &in aString) |
tString | cString_GetFilePathTopFolder(const tString &in aString) |
tWString | cString_GetFilePathTopFolderW(const tWString &in aString) |
tWString | cString_GetFilePathW(const tWString &in aString) |
int | cString_GetFirstCharPos(const tString &in aString, int8 alChar) |
int | cString_GetFirstStringPos(const tString &in aString, const tString &in aChar) |
int | cString_GetFirstStringPosW(const tWString &in aString, const tWString &in aChar) |
void | cString_GetFloatVec(const tString &in asData, array<float> &inout avOutFloats, const tString &in asSepp) |
uint | cString_GetHash(const tString &in asStr) |
uint64 | cString_GetHash64(const tString &in asStr) |
uint64 | cString_GetHash64W(const tWString &in asStr) |
uint | cString_GetHashW(const tWString &in asStr) |
void | cString_GetIntVec(const tString &in asData, array<int> &inout avOutInts, const tString &in asSepp) |
tString | cString_GetLastChar(const tString &in aString) |
int | cString_GetLastCharPos(const tString &in aString, int8 alChar) |
tWString | cString_GetLastCharW(const tWString &in aString) |
int | cString_GetLastStringPos(const tString &in aString, const tString &in aChar) |
int | cString_GetLastStringPosW(const tWString &in aString, const tWString &in aChar) |
tString | cString_GetNumericSuffix(const tString &in asStr) |
float | cString_GetNumericSuffixFloat(const tString &in aString, float afDefault = 0) |
float | cString_GetNumericSuffixFloatW(const tWString &in aString, float afDefault = 0) |
int | cString_GetNumericSuffixInt(const tString &in aString, int alDefault = 0) |
int | cString_GetNumericSuffixIntW(const tWString &in aString, int alDefault = 0) |
tWString | cString_GetNumericSuffixW(const tWString &in asStr) |
void | cString_GetStringVec(const tString &in asData, array<tString> &inout avOutStrings, const tString &in asSepp) |
tString | cString_RemoveSlashAtEnd(const tString &in asPath) |
tWString | cString_RemoveSlashAtEndW(const tWString &in asPath) |
tString | cString_ReplaceCharTo(const tString &in aString, const tString &in asOldChar, const tString &in asNewChar) |
tWString | cString_ReplaceCharToW(const tWString &in aString, const tWString &in asOldChar, const tWString &in asNewChar) |
tString | cString_ReplaceStringTo(const tString &in aString, const tString &in asOldString, const tString &in asNewString) |
tWString | cString_ReplaceStringToW(const tWString &in aString, const tWString &in asOldString, const tWString &in asNewString) |
tString | cString_S16BitToUTF8(const tWString &in awsString) |
tString | cString_SetFileExt(const tString &in aString, const tString &in aExt) |
tWString | cString_SetFileExtW(const tWString &in aString, const tWString &in aExt) |
tString | cString_SetFilePath(const tString &in aString, const tString &in aPath) |
tWString | cString_SetFilePathW(const tWString &in aString, const tWString &in aPath) |
tString | cString_Sub(const tString &in asString, int alStart, int alCount = -1) |
tWString | cString_SubW(const tWString &in asString, int alStart, int alCount = -1) |
tWString | cString_To16Char(const tString &in asString) |
tString | cString_To8Char(const tWString &in awsString) |
bool | cString_ToBool(const tString &in asStr, bool abDefault) |
cColor | cString_ToColor(const tString &in asStr, const cColor &in aDefault) |
float | cString_ToFloat(const tString &in asStr, float afDefault) |
int | cString_ToInt(const tString &in asStr, int alDefault) |
tString | cString_ToLowerCase(const tString &in aString) |
tWString | cString_ToLowerCaseW(const tWString &in aString) |
cMatrixf | cString_ToMatrixf(const tString &in asStr, const cMatrixf &in a_mtxDefault) |
tString | cString_ToString(float afX, int alNumOfDecimals = -1, bool abRemoveZeros = false) |
tString | cString_ToString(int alX, int alPaddingZeros) |
tWString | cString_ToStringW(float afX, int alNumOfDecimals = -1, bool abRemoveZeros = false) |
tWString | cString_ToStringW(int alX, int alPaddingZeros) |
tString | cString_ToUpperCase(const tString &in aString) |
tWString | cString_ToUpperCaseW(const tWString &in aString) |
cVector2f | cString_ToVector2f(const tString &in asStr, const cVector2f &in avDefault) |
cVector2l | cString_ToVector2l(const tString &in asStr, const cVector2l &in avDefault) |
cVector3f | cString_ToVector3f(const tString &in asStr, const cVector3f &in avDefault) |
cVector3l | cString_ToVector3l(const tString &in asStr, const cVector3l &in avDefault) |
cVector4f | cString_ToVector4f(const tString &in asStr, const cVector4f &in avDefault) |
Function Detail
cString_AddSlashAtEnd
tString cString_AddSlashAtEnd(const tString &in asPath)
Parameters
- asPath (tString) —
Returns:
- tString—
cString_AddSlashAtEndW
tWString cString_AddSlashAtEndW(const tWString &in asPath)
Parameters
- asPath (tWString) —
Returns:
- tWString—
cString_CheckWildcardStrings
cString_CountCharsInString
cString_CountCharsInStringW
cString_Get16BitFromArray
tWString cString_Get16BitFromArray(const tString &in asArray)
Parameters
- asArray (tString) —
Returns:
- tWString—
cString_GetFileExt
tString cString_GetFileExt(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_GetFileExtW
tWString cString_GetFileExtW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_GetFileName
tString cString_GetFileName(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_GetFileNameW
tWString cString_GetFileNameW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_GetFilePath
tString cString_GetFilePath(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_GetFilePathTopFolder
tString cString_GetFilePathTopFolder(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_GetFilePathTopFolderW
tWString cString_GetFilePathTopFolderW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_GetFilePathW
tWString cString_GetFilePathW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_GetFirstCharPos
int cString_GetFirstCharPos(const tString &in aString,
int8 alChar)
Parameters
- aString (tString) —
- alChar (int8) —
Returns:
- int—
cString_GetFirstStringPos
cString_GetFirstStringPosW
cString_GetFloatVec
cString_GetHash
cString_GetHash64
cString_GetHash64W
cString_GetHashW
cString_GetIntVec
cString_GetLastChar
tString cString_GetLastChar(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_GetLastCharPos
int cString_GetLastCharPos(const tString &in aString,
int8 alChar)
Parameters
- aString (tString) —
- alChar (int8) —
Returns:
- int—
cString_GetLastCharW
tWString cString_GetLastCharW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_GetLastStringPos
cString_GetLastStringPosW
cString_GetNumericSuffix
tString cString_GetNumericSuffix(const tString &in asStr)
Parameters
- asStr (tString) —
Returns:
- tString—
cString_GetNumericSuffixFloat
float cString_GetNumericSuffixFloat(const tString &in aString,
float afDefault = 0)
Parameters
- aString (tString) —
- afDefault (float) —
Returns:
- float—
cString_GetNumericSuffixFloatW
float cString_GetNumericSuffixFloatW(const tWString &in aString,
float afDefault = 0)
Parameters
- aString (tWString) —
- afDefault (float) —
Returns:
- float—
cString_GetNumericSuffixInt
int cString_GetNumericSuffixInt(const tString &in aString,
int alDefault = 0)
Parameters
- aString (tString) —
- alDefault (int) —
Returns:
- int—
cString_GetNumericSuffixIntW
int cString_GetNumericSuffixIntW(const tWString &in aString,
int alDefault = 0)
Parameters
- aString (tWString) —
- alDefault (int) —
Returns:
- int—
cString_GetNumericSuffixW
tWString cString_GetNumericSuffixW(const tWString &in asStr)
Parameters
- asStr (tWString) —
Returns:
- tWString—
cString_GetStringVec
cString_RemoveSlashAtEnd
tString cString_RemoveSlashAtEnd(const tString &in asPath)
Parameters
- asPath (tString) —
Returns:
- tString—
cString_RemoveSlashAtEndW
tWString cString_RemoveSlashAtEndW(const tWString &in asPath)
Parameters
- asPath (tWString) —
Returns:
- tWString—
cString_ReplaceCharTo
cString_ReplaceCharToW
cString_ReplaceStringTo
cString_ReplaceStringToW
cString_S16BitToUTF8
tString cString_S16BitToUTF8(const tWString &in awsString)
Parameters
- awsString (tWString) —
Returns:
- tString—
cString_SetFileExt
cString_SetFileExtW
cString_SetFilePath
cString_SetFilePathW
cString_Sub
tString cString_Sub(const tString &in asString,
int alStart,
int alCount = -1)
Parameters
- asString (tString) —
- alStart (int) —
- alCount (int) —
Returns:
- tString—
cString_SubW
tWString cString_SubW(const tWString &in asString,
int alStart,
int alCount = -1)
Parameters
- asString (tWString) —
- alStart (int) —
- alCount (int) —
Returns:
- tWString—
cString_To16Char
tWString cString_To16Char(const tString &in asString)
Parameters
- asString (tString) —
Returns:
- tWString—
cString_To8Char
tString cString_To8Char(const tWString &in awsString)
Parameters
- awsString (tWString) —
Returns:
- tString—
cString_ToBool
bool cString_ToBool(const tString &in asStr,
bool abDefault)
Parameters
- asStr (tString) —
- abDefault (bool) —
Returns:
- bool—
cString_ToColor
cString_ToFloat
float cString_ToFloat(const tString &in asStr,
float afDefault)
Parameters
- asStr (tString) —
- afDefault (float) —
Returns:
- float—
cString_ToInt
int cString_ToInt(const tString &in asStr,
int alDefault)
Parameters
- asStr (tString) —
- alDefault (int) —
Returns:
- int—
cString_ToLowerCase
tString cString_ToLowerCase(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_ToLowerCaseW
tWString cString_ToLowerCaseW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—
cString_ToMatrixf
cString_ToString
tString cString_ToString(float afX,
int alNumOfDecimals = -1,
bool abRemoveZeros = false)
Parameters
- afX (float) —
- alNumOfDecimals (int) —
- abRemoveZeros (bool) —
Returns:
- tString—
cString_ToString
tString cString_ToString(int alX,
int alPaddingZeros)
Parameters
- alX (int) —
- alPaddingZeros (int) —
Returns:
- tString—
cString_ToStringW
tWString cString_ToStringW(float afX,
int alNumOfDecimals = -1,
bool abRemoveZeros = false)
Parameters
- afX (float) —
- alNumOfDecimals (int) —
- abRemoveZeros (bool) —
Returns:
- tWString—
cString_ToStringW
tWString cString_ToStringW(int alX,
int alPaddingZeros)
Parameters
- alX (int) —
- alPaddingZeros (int) —
Returns:
- tWString—
cString_ToUpperCase
tString cString_ToUpperCase(const tString &in aString)
Parameters
- aString (tString) —
Returns:
- tString—
cString_ToUpperCaseW
tWString cString_ToUpperCaseW(const tWString &in aString)
Parameters
- aString (tWString) —
Returns:
- tWString—