22 #ifndef TITANIC_STRING_H 23 #define TITANIC_STRING_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/str.h" 32 FILETYPE_UNKNOWN = 0, FILETYPE_IMAGE = 1, FILETYPE_MOVIE = 2,
33 FILETYPE_WAV = 3, FILETYPE_DLG = 4
37 IMAGETYPE_UNKNOWN = 0, IMAGETYPE_TARGA = 1, IMAGETYPE_JPEG = 2
51 bool operator==(
const CString &x)
const;
52 bool operator==(
const char *x)
const;
53 bool operator!=(
const CString &x)
const;
54 bool operator!=(
const char *x)
const;
90 int indexOf(
const char *s)
const;
116 return atoi(c_str());
static CString format(const char *fmt,...)
FileType fileTypeSuffix() const
CString deleteRight(uint count) const
constexpr String()
Definition: str.h:69
CString mid(uint start, uint count) const
ImageType imageTypeSuffix() const
int readInt() const
Definition: string.h:115
CString right(uint count) const
int indexOf(char c) const
Array< String > StringArray
Definition: str-array.h:43
CString left(uint count) const
int lastIndexOf(char c) const
bool containsIgnoreCase(const CString &str) const