ScummVM API documentation
asCString Class Reference

Public Member Functions

 asCString (const asCString &)
 
 asCString (const char *)
 
 asCString (const char *, size_t length)
 
 asCString (char)
 
void Allocate (size_t len, bool keepData)
 
void SetLength (size_t len)
 
size_t GetLength () const
 
void Concatenate (const char *str, size_t length)
 
asCStringoperator+= (const asCString &)
 
asCStringoperator+= (const char *)
 
asCStringoperator+= (char)
 
void Assign (const char *str, size_t length)
 
asCStringoperator= (const asCString &)
 
asCStringoperator= (const char *)
 
asCStringoperator= (char)
 
asCString SubString (size_t start, size_t length=(size_t)(-1)) const
 
int FindLast (const char *str, int *count=0) const
 
size_t Format (const char *fmt,...)
 
int Compare (const char *str) const
 
int Compare (const asCString &str) const
 
int Compare (const char *str, size_t length) const
 
char * AddressOf ()
 
const char * AddressOf () const
 
char & operator[] (size_t index)
 
const char & operator[] (size_t index) const
 
size_t RecalculateLength ()
 

Protected Attributes

unsigned int length
 
union {
   char *   dynamic
 
   char   local [12]
 
}; 
 

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