doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
idStr Class Reference

#include <Str.h>

Inheritance diagram for idStr:
idPoolStr idToken

Public Member Functions

 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)
 
idStroperator+= (const idStr &a)
 
idStroperator+= (const char *a)
 
idStroperator+= (const float a)
 
idStroperator+= (const char a)
 
idStroperator+= (const int a)
 
idStroperator+= (const unsigned a)
 
idStroperator+= (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
 
idStrRemoveColors (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)
 
idStrStripQuotes (void)
 
void Replace (const char *old, const char *nw)
 
int FileNameHash (void) const
 
idStrBackSlashesToSlashes (void)
 
idStrSetFileExtension (const char *extension)
 
idStrStripFileExtension (void)
 
idStrStripAbsoluteFileExtension (void)
 
idStrDefaultFileExtension (const char *extension)
 
idStrDefaultPath (const char *basepath)
 
void AppendPath (const char *text)
 
idStrStripFilename (void)
 
idStrStripPath (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 Public Member Functions

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 idVec4ColorForIndex (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)
 

Protected Member Functions

void Init (void)
 
void EnsureAlloced (int amount, bool keepold=true)
 

Protected Attributes

int len
 
char * data
 
int alloced
 
char baseBuffer [STR_ALLOC_BASE]
 

Friends

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)
 

Detailed Description

Definition at line 116 of file Str.h.

Constructor & Destructor Documentation

ID_INLINE idStr::idStr ( void  )

Definition at line 344 of file Str.h.

ID_INLINE idStr::idStr ( const idStr text)

Definition at line 348 of file Str.h.

ID_INLINE idStr::idStr ( const idStr text,
int  start,
int  end 
)

Definition at line 358 of file Str.h.

ID_INLINE idStr::idStr ( const char *  text)

Definition at line 387 of file Str.h.

ID_INLINE idStr::idStr ( const char *  text,
int  start,
int  end 
)

Definition at line 399 of file Str.h.

ID_INLINE idStr::idStr ( const bool  b)
explicit

Definition at line 428 of file Str.h.

ID_INLINE idStr::idStr ( const char  c)
explicit

Definition at line 436 of file Str.h.

ID_INLINE idStr::idStr ( const int  i)
explicit

Definition at line 444 of file Str.h.

ID_INLINE idStr::idStr ( const unsigned  u)
explicit

Definition at line 455 of file Str.h.

ID_INLINE idStr::idStr ( const float  f)
explicit

Definition at line 466 of file Str.h.

ID_INLINE idStr::~idStr ( void  )

Definition at line 479 of file Str.h.

Member Function Documentation

ID_INLINE int idStr::Allocated ( void  ) const

Definition at line 706 of file Str.h.

ID_INLINE void idStr::Append ( const char  a)

Definition at line 729 of file Str.h.

ID_INLINE void idStr::Append ( const idStr text)

Definition at line 736 of file Str.h.

ID_INLINE void idStr::Append ( const char *  text)

Definition at line 749 of file Str.h.

ID_INLINE void idStr::Append ( const char *  text,
int  len 
)

Definition at line 764 of file Str.h.

void idStr::Append ( char *  dest,
int  size,
const char *  src 
)
static

Definition at line 1397 of file Str.cpp.

void idStr::AppendPath ( const char *  text)

Definition at line 830 of file Str.cpp.

idStr & idStr::BackSlashesToSlashes ( void  )

Definition at line 727 of file Str.cpp.

int idStr::BestUnit ( const char *  format,
float  value,
Measure_t  measure 
)

Definition at line 1591 of file Str.cpp.

ID_INLINE const char * idStr::c_str ( void  ) const

Definition at line 487 of file Str.h.

ID_INLINE void idStr::CapLength ( int  newlen)

Definition at line 859 of file Str.h.

ID_INLINE bool idStr::CharIsAlpha ( int  c)
static

Definition at line 1018 of file Str.h.

ID_INLINE bool idStr::CharIsLower ( int  c)
static

Definition at line 1008 of file Str.h.

ID_INLINE bool idStr::CharIsNewLine ( char  c)
static

Definition at line 1028 of file Str.h.

ID_INLINE bool idStr::CharIsNumeric ( int  c)
static

Definition at line 1024 of file Str.h.

ID_INLINE bool idStr::CharIsPrintable ( int  c)
static

Definition at line 1003 of file Str.h.

ID_INLINE bool idStr::CharIsTab ( char  c)
static

Definition at line 1032 of file Str.h.

ID_INLINE bool idStr::CharIsUpper ( int  c)
static

Definition at line 1013 of file Str.h.

ID_INLINE bool idStr::CheckExtension ( const char *  ext)

Definition at line 925 of file Str.h.

bool idStr::CheckExtension ( const char *  name,
const char *  ext 
)
static

Definition at line 383 of file Str.cpp.

ID_INLINE void idStr::Clear ( void  )

Definition at line 724 of file Str.h.

ID_INLINE int idStr::Cmp ( const char *  text) const

Definition at line 652 of file Str.h.

int idStr::Cmp ( const char *  s1,
const char *  s2 
)
static

Definition at line 1071 of file Str.cpp.

ID_INLINE int idStr::Cmpn ( const char *  text,
int  n 
) const

Definition at line 657 of file Str.h.

int idStr::Cmpn ( const char *  s1,
const char *  s2,
int  n 
)
static

Definition at line 1092 of file Str.cpp.

ID_INLINE int idStr::CmpPrefix ( const char *  text) const

Definition at line 662 of file Str.h.

idVec4 & idStr::ColorForIndex ( int  i)
static

Definition at line 71 of file Str.cpp.

ID_INLINE int idStr::ColorIndex ( int  c)
static

Definition at line 1036 of file Str.h.

void idStr::Copynz ( char *  dest,
const char *  src,
int  destsize 
)
static

Definition at line 1376 of file Str.cpp.

idStr & idStr::DefaultFileExtension ( const char *  extension)

Definition at line 794 of file Str.cpp.

idStr & idStr::DefaultPath ( const char *  basepath)

Definition at line 815 of file Str.cpp.

ID_INLINE int idStr::DynamicMemoryUsed ( ) const

Definition at line 1040 of file Str.h.

ID_INLINE void idStr::Empty ( void  )

Definition at line 714 of file Str.h.

char ID_INLINE void idStr::EnsureAlloced ( int  amount,
bool  keepold = true 
)
protected

Definition at line 328 of file Str.h.

void idStr::ExtractFileBase ( idStr dest) const

Definition at line 940 of file Str.cpp.

void idStr::ExtractFileExtension ( idStr dest) const

Definition at line 965 of file Str.cpp.

void idStr::ExtractFileName ( idStr dest) const

Definition at line 921 of file Str.cpp.

void idStr::ExtractFilePath ( idStr dest) const

Definition at line 902 of file Str.cpp.

int idStr::FileNameHash ( void  ) const

Definition at line 700 of file Str.cpp.

ID_INLINE void idStr::Fill ( const char  ch,
int  newlen 
)

Definition at line 867 of file Str.h.

ID_INLINE bool idStr::Filter ( const char *  filter,
bool  casesensitive 
) const

Definition at line 888 of file Str.h.

bool idStr::Filter ( const char *  filter,
const char *  name,
bool  casesensitive 
)
static

Definition at line 249 of file Str.cpp.

ID_INLINE int idStr::Find ( const char  c,
int  start = 0,
int  end = -1 
) const

Definition at line 874 of file Str.h.

ID_INLINE int idStr::Find ( const char *  text,
bool  casesensitive = true,
int  start = 0,
int  end = -1 
) const

Definition at line 881 of file Str.h.

int idStr::FindChar ( const char *  str,
const char  c,
int  start = 0,
int  end = -1 
)
static

Definition at line 186 of file Str.cpp.

int idStr::FindText ( const char *  str,
const char *  text,
bool  casesensitive = true,
int  start = 0,
int  end = -1 
)
static

Definition at line 207 of file Str.cpp.

const char * idStr::FloatArrayToString ( const float array,
const int  length,
const int  precision 
)
static

Definition at line 418 of file Str.cpp.

idStr idStr::FormatNumber ( int  number)
static

Definition at line 1682 of file Str.cpp.

void idStr::FreeData ( void  )

Definition at line 123 of file Str.cpp.

ID_INLINE int idStr::Hash ( const char *  string)
static

Definition at line 953 of file Str.h.

ID_INLINE int idStr::Hash ( const char *  string,
int  length 
)
static

Definition at line 961 of file Str.h.

ID_INLINE bool idStr::HasLower ( void  ) const

Definition at line 841 of file Str.h.

bool idStr::HasLower ( const char *  s)
static

Definition at line 1029 of file Str.cpp.

ID_INLINE bool idStr::HasUpper ( void  ) const

Definition at line 845 of file Str.h.

bool idStr::HasUpper ( const char *  s)
static

Definition at line 1051 of file Str.cpp.

ID_INLINE int idStr::Icmp ( const char *  text) const

Definition at line 667 of file Str.h.

int idStr::Icmp ( const char *  s1,
const char *  s2 
)
static

Definition at line 1119 of file Str.cpp.

ID_INLINE int idStr::Icmpn ( const char *  text,
int  n 
) const

Definition at line 672 of file Str.h.

int idStr::Icmpn ( const char *  s1,
const char *  s2,
int  n 
)
static

Definition at line 1152 of file Str.cpp.

ID_INLINE int idStr::IcmpNoColor ( const char *  text) const

Definition at line 682 of file Str.h.

int idStr::IcmpNoColor ( const char *  s1,
const char *  s2 
)
static

Definition at line 1191 of file Str.cpp.

ID_INLINE int idStr::IcmpnPath ( const char *  text,
int  n 
) const

Definition at line 692 of file Str.h.

int idStr::IcmpnPath ( const char *  s1,
const char *  s2,
int  n 
)
static

Definition at line 1299 of file Str.cpp.

ID_INLINE int idStr::IcmpPath ( const char *  text) const

Definition at line 687 of file Str.h.

int idStr::IcmpPath ( const char *  s1,
const char *  s2 
)
static

Definition at line 1230 of file Str.cpp.

ID_INLINE int idStr::IcmpPrefix ( const char *  text) const

Definition at line 677 of file Str.h.

ID_INLINE int idStr::IcmpPrefixPath ( const char *  text) const

Definition at line 697 of file Str.h.

ID_INLINE int idStr::IHash ( const char *  string)
static

Definition at line 969 of file Str.h.

ID_INLINE int idStr::IHash ( const char *  string,
int  length 
)
static

Definition at line 977 of file Str.h.

ID_INLINE void idStr::Init ( void  )
protected

Definition at line 334 of file Str.h.

void idStr::InitMemory ( void  )
static

Definition at line 1621 of file Str.cpp.

ID_INLINE void idStr::Insert ( const char  a,
int  index 
)

Definition at line 779 of file Str.h.

ID_INLINE void idStr::Insert ( const char *  text,
int  index 
)

Definition at line 797 of file Str.h.

ID_INLINE bool idStr::IsColor ( void  ) const

Definition at line 837 of file Str.h.

ID_INLINE bool idStr::IsColor ( const char *  s)
static

Definition at line 985 of file Str.h.

ID_INLINE bool idStr::IsEmpty ( void  ) const

Definition at line 720 of file Str.h.

ID_INLINE bool idStr::IsNumeric ( void  ) const

Definition at line 833 of file Str.h.

bool idStr::IsNumeric ( const char *  s)
static

Definition at line 1000 of file Str.cpp.

int idStr::Last ( const char  c) const

Definition at line 452 of file Str.cpp.

ID_INLINE const char * idStr::Left ( int  len,
idStr result 
) const

Definition at line 892 of file Str.h.

ID_INLINE idStr idStr::Left ( int  len) const

Definition at line 904 of file Str.h.

ID_INLINE int idStr::Length ( void  ) const

Definition at line 702 of file Str.h.

ID_INLINE int idStr::Length ( const char *  s)
static

Definition at line 929 of file Str.h.

ID_INLINE int idStr::LengthWithoutColors ( void  ) const

Definition at line 855 of file Str.h.

int idStr::LengthWithoutColors ( const char *  s)
static

Definition at line 1412 of file Str.cpp.

const char * idStr::Mid ( int  start,
int  len,
idStr result 
) const

Definition at line 603 of file Str.cpp.

idStr idStr::Mid ( int  start,
int  len 
) const

Definition at line 626 of file Str.cpp.

ID_INLINE idStr::operator const char * ( void  ) const

Definition at line 495 of file Str.h.

ID_INLINE idStr::operator const char * ( void  )

Definition at line 491 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const idStr a)

Definition at line 606 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const char *  a)

Definition at line 611 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const float  a)

Definition at line 579 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const char  a)

Definition at line 616 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const int  a)

Definition at line 588 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const unsigned  a)

Definition at line 597 of file Str.h.

ID_INLINE idStr & idStr::operator+= ( const bool  a)

Definition at line 621 of file Str.h.

ID_INLINE void idStr::operator= ( const idStr text)

Definition at line 509 of file Str.h.

void idStr::operator= ( const char *  text)

Definition at line 139 of file Str.cpp.

ID_INLINE char idStr::operator[] ( int  index) const

Definition at line 499 of file Str.h.

ID_INLINE char & idStr::operator[] ( int  index)

Definition at line 504 of file Str.h.

void idStr::PurgeMemory ( void  )
static

Definition at line 1643 of file Str.cpp.

void idStr::ReAllocate ( int  amount,
bool  keepold 
)

Definition at line 80 of file Str.cpp.

ID_INLINE idStr & idStr::RemoveColors ( void  )

Definition at line 849 of file Str.h.

char * idStr::RemoveColors ( char *  s)
static

Definition at line 1439 of file Str.cpp.

void idStr::Replace ( const char *  old,
const char *  nw 
)

Definition at line 563 of file Str.cpp.

ID_INLINE const char * idStr::Right ( int  len,
idStr result 
) const

Definition at line 896 of file Str.h.

ID_INLINE idStr idStr::Right ( int  len) const

Definition at line 908 of file Str.h.

idStr & idStr::SetFileExtension ( const char *  extension)

Definition at line 743 of file Str.cpp.

void idStr::SetUnit ( const char *  format,
float  value,
int  unit,
Measure_t  measure 
)

Definition at line 1609 of file Str.cpp.

void idStr::ShowMemoryUsage_f ( const idCmdArgs args)
static

Definition at line 1654 of file Str.cpp.

void idStr::ShutdownMemory ( void  )
static

Definition at line 1632 of file Str.cpp.

ID_INLINE size_t idStr::Size ( void  ) const

Definition at line 483 of file Str.h.

int idStr::snPrintf ( char *  dest,
int  size,
const char *  fmt,
  ... 
)
static

Definition at line 1465 of file Str.cpp.

ID_INLINE void idStr::Strip ( const char  c)

Definition at line 915 of file Str.h.

ID_INLINE void idStr::Strip ( const char *  string)

Definition at line 920 of file Str.h.

idStr & idStr::StripAbsoluteFileExtension ( void  )

Definition at line 775 of file Str.cpp.

idStr & idStr::StripFileExtension ( void  )

Definition at line 757 of file Str.cpp.

idStr & idStr::StripFilename ( void  )

Definition at line 864 of file Str.cpp.

void idStr::StripLeading ( const char  c)

Definition at line 469 of file Str.cpp.

void idStr::StripLeading ( const char *  string)

Definition at line 481 of file Str.cpp.

bool idStr::StripLeadingOnce ( const char *  string)

Definition at line 498 of file Str.cpp.

void idStr::StripMediaName ( const char *  name,
idStr mediaName 
)
static

Definition at line 359 of file Str.cpp.

idStr & idStr::StripPath ( void  )

Definition at line 885 of file Str.cpp.

idStr & idStr::StripQuotes ( void  )

Definition at line 665 of file Str.cpp.

void idStr::StripTrailing ( const char  c)

Definition at line 515 of file Str.cpp.

void idStr::StripTrailing ( const char *  string)

Definition at line 529 of file Str.cpp.

bool idStr::StripTrailingOnce ( const char *  string)

Definition at line 546 of file Str.cpp.

void idStr::StripTrailingWhitespace ( void  )

Definition at line 648 of file Str.cpp.

ID_INLINE void idStr::ToLower ( void  )

Definition at line 817 of file Str.h.

ID_INLINE char * idStr::ToLower ( char *  s)
static

Definition at line 935 of file Str.h.

ID_INLINE char idStr::ToLower ( char  c)
static

Definition at line 989 of file Str.h.

ID_INLINE void idStr::ToUpper ( void  )

Definition at line 825 of file Str.h.

ID_INLINE char * idStr::ToUpper ( char *  s)
static

Definition at line 944 of file Str.h.

ID_INLINE char idStr::ToUpper ( char  c)
static

Definition at line 996 of file Str.h.

int idStr::vsnPrintf ( char *  dest,
int  size,
const char *  fmt,
va_list  argptr 
)
static

Definition at line 1502 of file Str.cpp.

Friends And Related Function Documentation

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

Definition at line 640 of file Str.h.

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

Definition at line 644 of file Str.h.

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

Definition at line 648 of file Str.h.

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

Definition at line 519 of file Str.h.

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

Definition at line 525 of file Str.h.

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

Definition at line 531 of file Str.h.

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

Definition at line 549 of file Str.h.

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

Definition at line 559 of file Str.h.

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

Definition at line 569 of file Str.h.

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

Definition at line 537 of file Str.h.

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

Definition at line 543 of file Str.h.

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

Definition at line 626 of file Str.h.

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

Definition at line 630 of file Str.h.

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

Definition at line 635 of file Str.h.

int sprintf ( idStr dest,
const char *  fmt,
  ... 
)
friend

Definition at line 1528 of file Str.cpp.

int vsprintf ( idStr dest,
const char *  fmt,
va_list  ap 
)
friend

Definition at line 1549 of file Str.cpp.

Member Data Documentation

int idStr::alloced
protected

Definition at line 318 of file Str.h.

char idStr::baseBuffer[STR_ALLOC_BASE]
protected

Definition at line 319 of file Str.h.

char* idStr::data
protected

Definition at line 317 of file Str.h.

int idStr::len
protected

Definition at line 316 of file Str.h.


The documentation for this class was generated from the following files: