doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Enumerations | Functions | Variables
Str.h File Reference

Go to the source code of this file.

Classes

class  idStr
 

Macros

#define strcmp   idStr::Cmp
 
#define strncmp   use_idStr_Cmpn
 
#define StrCmpN   use_idStr_Cmpn
 
#define strcmpi   use_idStr_Icmp
 
#define StrCmpI   use_idStr_Icmp
 
#define StrCmpNI   use_idStr_Icmpn
 
#define stricmp   idStr::Icmp
 
#define _stricmp   use_idStr_Icmp
 
#define strcasecmp   use_idStr_Icmp
 
#define strnicmp   use_idStr_Icmpn
 
#define _strnicmp   use_idStr_Icmpn
 
#define _memicmp   use_idStr_Icmpn
 
#define snprintf   use_idStr_snPrintf
 
#define _snprintf   use_idStr_snPrintf
 
#define vsnprintf   use_idStr_vsnPrintf
 
#define _vsnprintf   use_idStr_vsnPrintf
 
#define FILE_HASH_SIZE   1024
 
#define S_COLOR_DEFAULT   "^0"
 
#define S_COLOR_RED   "^1"
 
#define S_COLOR_GREEN   "^2"
 
#define S_COLOR_YELLOW   "^3"
 
#define S_COLOR_BLUE   "^4"
 
#define S_COLOR_CYAN   "^5"
 
#define S_COLOR_MAGENTA   "^6"
 
#define S_COLOR_WHITE   "^7"
 
#define S_COLOR_GRAY   "^8"
 
#define S_COLOR_BLACK   "^9"
 

Enumerations

enum  Measure_t { MEASURE_SIZE = 0, MEASURE_BANDWIDTH }
 

Functions

char * va (const char *fmt,...) id_attribute((format(printf
 
ID_INLINE idStr operator+ (const idStr &a, const idStr &b)
 
ID_INLINE idStr operator+ (const idStr &a, const char *b)
 
ID_INLINE idStr operator+ (const char *a, const idStr &b)
 
ID_INLINE idStr operator+ (const idStr &a, const bool b)
 
ID_INLINE idStr operator+ (const idStr &a, const char b)
 
ID_INLINE idStr operator+ (const idStr &a, const float b)
 
ID_INLINE idStr operator+ (const idStr &a, const int b)
 
ID_INLINE idStr operator+ (const idStr &a, const unsigned b)
 
ID_INLINE bool operator== (const idStr &a, const idStr &b)
 
ID_INLINE bool operator== (const idStr &a, const char *b)
 
ID_INLINE bool operator== (const char *a, const idStr &b)
 
ID_INLINE bool operator!= (const idStr &a, const idStr &b)
 
ID_INLINE bool operator!= (const idStr &a, const char *b)
 
ID_INLINE bool operator!= (const char *a, const idStr &b)
 

Variables

const int C_COLOR_ESCAPE = '^'
 
const int C_COLOR_DEFAULT = '0'
 
const int C_COLOR_RED = '1'
 
const int C_COLOR_GREEN = '2'
 
const int C_COLOR_YELLOW = '3'
 
const int C_COLOR_BLUE = '4'
 
const int C_COLOR_CYAN = '5'
 
const int C_COLOR_MAGENTA = '6'
 
const int C_COLOR_WHITE = '7'
 
const int C_COLOR_GRAY = '8'
 
const int C_COLOR_BLACK = '9'
 
const int STR_ALLOC_BASE = 20
 
const int STR_ALLOC_GRAN = 32
 

Macro Definition Documentation

#define _memicmp   use_idStr_Icmpn

Definition at line 69 of file Str.h.

#define _snprintf   use_idStr_snPrintf

Definition at line 71 of file Str.h.

#define _stricmp   use_idStr_Icmp

Definition at line 65 of file Str.h.

#define _strnicmp   use_idStr_Icmpn

Definition at line 68 of file Str.h.

#define _vsnprintf   use_idStr_vsnPrintf

Definition at line 73 of file Str.h.

#define FILE_HASH_SIZE   1024

Definition at line 78 of file Str.h.

#define S_COLOR_BLACK   "^9"

Definition at line 104 of file Str.h.

#define S_COLOR_BLUE   "^4"

Definition at line 99 of file Str.h.

#define S_COLOR_CYAN   "^5"

Definition at line 100 of file Str.h.

#define S_COLOR_DEFAULT   "^0"

Definition at line 95 of file Str.h.

#define S_COLOR_GRAY   "^8"

Definition at line 103 of file Str.h.

#define S_COLOR_GREEN   "^2"

Definition at line 97 of file Str.h.

#define S_COLOR_MAGENTA   "^6"

Definition at line 101 of file Str.h.

#define S_COLOR_RED   "^1"

Definition at line 96 of file Str.h.

#define S_COLOR_WHITE   "^7"

Definition at line 102 of file Str.h.

#define S_COLOR_YELLOW   "^3"

Definition at line 98 of file Str.h.

#define snprintf   use_idStr_snPrintf

Definition at line 70 of file Str.h.

#define strcasecmp   use_idStr_Icmp

Definition at line 66 of file Str.h.

#define strcmp   idStr::Cmp

Definition at line 41 of file Str.h.

#define strcmpi   use_idStr_Icmp

Definition at line 52 of file Str.h.

#define StrCmpI   use_idStr_Icmp

Definition at line 57 of file Str.h.

#define StrCmpN   use_idStr_Cmpn

Definition at line 47 of file Str.h.

#define StrCmpNI   use_idStr_Icmpn

Definition at line 62 of file Str.h.

#define stricmp   idStr::Icmp

Definition at line 64 of file Str.h.

#define strncmp   use_idStr_Cmpn

Definition at line 42 of file Str.h.

#define strnicmp   use_idStr_Icmpn

Definition at line 67 of file Str.h.

#define vsnprintf   use_idStr_vsnPrintf

Definition at line 72 of file Str.h.

Enumeration Type Documentation

enum Measure_t
Enumerator
MEASURE_SIZE 
MEASURE_BANDWIDTH 

Definition at line 111 of file Str.h.

Function Documentation

ID_INLINE bool operator!= ( const idStr a,
const idStr b 
)

Definition at line 640 of file Str.h.

ID_INLINE bool operator!= ( const idStr a,
const char *  b 
)

Definition at line 644 of file Str.h.

ID_INLINE bool operator!= ( const char *  a,
const idStr b 
)

Definition at line 648 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const idStr b 
)

Definition at line 519 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const char *  b 
)

Definition at line 525 of file Str.h.

ID_INLINE idStr operator+ ( const char *  a,
const idStr b 
)

Definition at line 531 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const bool  b 
)

Definition at line 537 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const char  b 
)

Definition at line 543 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const float  b 
)

Definition at line 549 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const int  b 
)

Definition at line 559 of file Str.h.

ID_INLINE idStr operator+ ( const idStr a,
const unsigned  b 
)

Definition at line 569 of file Str.h.

ID_INLINE bool operator== ( const idStr a,
const idStr b 
)

Definition at line 626 of file Str.h.

ID_INLINE bool operator== ( const idStr a,
const char *  b 
)

Definition at line 630 of file Str.h.

ID_INLINE bool operator== ( const char *  a,
const idStr b 
)

Definition at line 635 of file Str.h.

char* va ( const char *  fmt,
  ... 
)

Variable Documentation

const int C_COLOR_BLACK = '9'

Definition at line 92 of file Str.h.

const int C_COLOR_BLUE = '4'

Definition at line 87 of file Str.h.

const int C_COLOR_CYAN = '5'

Definition at line 88 of file Str.h.

const int C_COLOR_DEFAULT = '0'

Definition at line 83 of file Str.h.

const int C_COLOR_ESCAPE = '^'

Definition at line 82 of file Str.h.

const int C_COLOR_GRAY = '8'

Definition at line 91 of file Str.h.

const int C_COLOR_GREEN = '2'

Definition at line 85 of file Str.h.

const int C_COLOR_MAGENTA = '6'

Definition at line 89 of file Str.h.

const int C_COLOR_RED = '1'

Definition at line 84 of file Str.h.

const int C_COLOR_WHITE = '7'

Definition at line 90 of file Str.h.

const int C_COLOR_YELLOW = '3'

Definition at line 86 of file Str.h.

const int STR_ALLOC_BASE = 20

Definition at line 108 of file Str.h.

const int STR_ALLOC_GRAN = 32

Definition at line 109 of file Str.h.