|
| idStr (void) |
|
| idStr (const idStr &text) |
|
| idStr (const idStr &text, int start, int end) |
|
| idStr (const char *text) |
|
| idStr (const char *text, int start, int end) |
|
| idStr (const bool b) |
|
| idStr (const char c) |
|
| idStr (const int i) |
|
| idStr (const unsigned u) |
|
| idStr (const float f) |
|
| ~idStr (void) |
|
size_t | Size (void) const |
|
const char * | c_str (void) const |
|
| operator const char * (void) const |
|
| operator const char * (void) |
|
char | operator[] (int index) const |
|
char & | operator[] (int index) |
|
void | operator= (const idStr &text) |
|
void | operator= (const char *text) |
|
idStr & | operator+= (const idStr &a) |
|
idStr & | operator+= (const char *a) |
|
idStr & | operator+= (const float a) |
|
idStr & | operator+= (const char a) |
|
idStr & | operator+= (const int a) |
|
idStr & | operator+= (const unsigned a) |
|
idStr & | operator+= (const bool a) |
|
int | Cmp (const char *text) const |
|
int | Cmpn (const char *text, int n) const |
|
int | CmpPrefix (const char *text) const |
|
int | Icmp (const char *text) const |
|
int | Icmpn (const char *text, int n) const |
|
int | IcmpPrefix (const char *text) const |
|
int | IcmpNoColor (const char *text) const |
|
int | IcmpPath (const char *text) const |
|
int | IcmpnPath (const char *text, int n) const |
|
int | IcmpPrefixPath (const char *text) const |
|
int | Length (void) const |
|
int | Allocated (void) const |
|
void | Empty (void) |
|
bool | IsEmpty (void) const |
|
void | Clear (void) |
|
void | Append (const char a) |
|
void | Append (const idStr &text) |
|
void | Append (const char *text) |
|
void | Append (const char *text, int len) |
|
void | Insert (const char a, int index) |
|
void | Insert (const char *text, int index) |
|
void | ToLower (void) |
|
void | ToUpper (void) |
|
bool | IsNumeric (void) const |
|
bool | IsColor (void) const |
|
bool | HasLower (void) const |
|
bool | HasUpper (void) const |
|
int | LengthWithoutColors (void) const |
|
idStr & | RemoveColors (void) |
|
void | CapLength (int) |
|
void | Fill (const char ch, int newlen) |
|
int | Find (const char c, int start=0, int end=-1) const |
|
int | Find (const char *text, bool casesensitive=true, int start=0, int end=-1) const |
|
bool | Filter (const char *filter, bool casesensitive) const |
|
int | Last (const char c) const |
|
const char * | Left (int len, idStr &result) const |
|
const char * | Right (int len, idStr &result) const |
|
const char * | Mid (int start, int len, idStr &result) const |
|
idStr | Left (int len) const |
|
idStr | Right (int len) const |
|
idStr | Mid (int start, int len) const |
|
void | StripLeading (const char c) |
|
void | StripLeading (const char *string) |
|
bool | StripLeadingOnce (const char *string) |
|
void | StripTrailing (const char c) |
|
void | StripTrailing (const char *string) |
|
bool | StripTrailingOnce (const char *string) |
|
void | Strip (const char c) |
|
void | Strip (const char *string) |
|
void | StripTrailingWhitespace (void) |
|
idStr & | StripQuotes (void) |
|
void | Replace (const char *old, const char *nw) |
|
int | FileNameHash (void) const |
|
idStr & | BackSlashesToSlashes (void) |
|
idStr & | SetFileExtension (const char *extension) |
|
idStr & | StripFileExtension (void) |
|
idStr & | StripAbsoluteFileExtension (void) |
|
idStr & | DefaultFileExtension (const char *extension) |
|
idStr & | DefaultPath (const char *basepath) |
|
void | AppendPath (const char *text) |
|
idStr & | StripFilename (void) |
|
idStr & | StripPath (void) |
|
void | ExtractFilePath (idStr &dest) const |
|
void | ExtractFileName (idStr &dest) const |
|
void | ExtractFileBase (idStr &dest) const |
|
void | ExtractFileExtension (idStr &dest) const |
|
bool | CheckExtension (const char *ext) |
|
void | ReAllocate (int amount, bool keepold) |
|
void | FreeData (void) |
|
int | BestUnit (const char *format, float value, Measure_t measure) |
|
void | SetUnit (const char *format, float value, int unit, Measure_t measure) |
|
int | DynamicMemoryUsed () const |
|
|
static int | Length (const char *s) |
|
static char * | ToLower (char *s) |
|
static char * | ToUpper (char *s) |
|
static bool | IsNumeric (const char *s) |
|
static bool | IsColor (const char *s) |
|
static bool | HasLower (const char *s) |
|
static bool | HasUpper (const char *s) |
|
static int | LengthWithoutColors (const char *s) |
|
static char * | RemoveColors (char *s) |
|
static int | Cmp (const char *s1, const char *s2) |
|
static int | Cmpn (const char *s1, const char *s2, int n) |
|
static int | Icmp (const char *s1, const char *s2) |
|
static int | Icmpn (const char *s1, const char *s2, int n) |
|
static int | IcmpNoColor (const char *s1, const char *s2) |
|
static int | IcmpPath (const char *s1, const char *s2) |
|
static int | IcmpnPath (const char *s1, const char *s2, int n) |
|
static void | Append (char *dest, int size, const char *src) |
|
static void | Copynz (char *dest, const char *src, int destsize) |
|
static int | snPrintf (char *dest, int size, const char *fmt,...) id_attribute((format(printf |
|
static int static int | vsnPrintf (char *dest, int size, const char *fmt, va_list argptr) |
|
static int | FindChar (const char *str, const char c, int start=0, int end=-1) |
|
static int | FindText (const char *str, const char *text, bool casesensitive=true, int start=0, int end=-1) |
|
static bool | Filter (const char *filter, const char *name, bool casesensitive) |
|
static void | StripMediaName (const char *name, idStr &mediaName) |
|
static bool | CheckExtension (const char *name, const char *ext) |
|
static const char * | FloatArrayToString (const float *array, const int length, const int precision) |
|
static int | Hash (const char *string) |
|
static int | Hash (const char *string, int length) |
|
static int | IHash (const char *string) |
|
static int | IHash (const char *string, int length) |
|
static char | ToLower (char c) |
|
static char | ToUpper (char c) |
|
static bool | CharIsPrintable (int c) |
|
static bool | CharIsLower (int c) |
|
static bool | CharIsUpper (int c) |
|
static bool | CharIsAlpha (int c) |
|
static bool | CharIsNumeric (int c) |
|
static bool | CharIsNewLine (char c) |
|
static bool | CharIsTab (char c) |
|
static int | ColorIndex (int c) |
|
static idVec4 & | ColorForIndex (int i) |
|
static void | InitMemory (void) |
|
static void | ShutdownMemory (void) |
|
static void | PurgeMemory (void) |
|
static void | ShowMemoryUsage_f (const idCmdArgs &args) |
|
static idStr | FormatNumber (int number) |
|
|
idStr | operator+ (const idStr &a, const idStr &b) |
|
idStr | operator+ (const idStr &a, const char *b) |
|
idStr | operator+ (const char *a, const idStr &b) |
|
idStr | operator+ (const idStr &a, const float b) |
|
idStr | operator+ (const idStr &a, const int b) |
|
idStr | operator+ (const idStr &a, const unsigned b) |
|
idStr | operator+ (const idStr &a, const bool b) |
|
idStr | operator+ (const idStr &a, const char b) |
|
bool | operator== (const idStr &a, const idStr &b) |
|
bool | operator== (const idStr &a, const char *b) |
|
bool | operator== (const char *a, const idStr &b) |
|
bool | operator!= (const idStr &a, const idStr &b) |
|
bool | operator!= (const idStr &a, const char *b) |
|
bool | operator!= (const char *a, const idStr &b) |
|
int | sprintf (idStr &dest, const char *fmt,...) |
|
int | vsprintf (idStr &dest, const char *fmt, va_list ap) |
|
Definition at line 116 of file Str.h.