CrystalSpace

Public API Reference

csString Class Reference

Thin wrapper around csStringFast with its default buffer size. More...

#include <csutil/csstring.h>

Inheritance diagram for csString:

List of all members.

Public Member Functions

 csString (unsigned char c)
 Create a csString object from a single unsigned character.
 csString (char c)
 Create a csString object from a single signed character.
 csString (const wchar_t *src, size_t _length)
 Create a csStringBase object from a wide string, given the length.
 csString (const wchar_t *src)
 Create a csString object from a null-terminated wide string.
 csString (const char *src, size_t _length)
 Create a csString object from a C string, given the length.
 csString (const char *src)
 Create a csString object from a null-terminated C string.
 csString (size_t Length)
 Create a csString object and reserve space for at least Length characters.
 csString ()
 Create an empty csString object.



 csString (const csStringBase &copy)
 Copy constructor.
 csString (const csString &copy)
 Copy constructor.
const csStringoperator= (ulonglong x)
 Copy constructor.
const csStringoperator= (longlong x)
 Copy constructor.
const csStringoperator= (double x)
 Copy constructor.
const csStringoperator= (float x)
 Copy constructor.
const csStringoperator= (unsigned long x)
 Copy constructor.
const csStringoperator= (long x)
 Copy constructor.
const csStringoperator= (unsigned int x)
 Copy constructor.
const csStringoperator= (int x)
 Copy constructor.
const csStringoperator= (unsigned short x)
 Copy constructor.
const csStringoperator= (short x)
 Copy constructor.
const csStringoperator= (bool x)
 Copy constructor.
const csStringoperator= (unsigned char x)
 Copy constructor.
const csStringoperator= (char x)
 Copy constructor.
const csStringoperator= (const char *copy)
 Copy constructor.
const csStringoperator= (const csStringBase &copy)
 Copy constructor.
const csStringoperator= (const csString &copy)
 Assign a value to this string.

Detailed Description

Thin wrapper around csStringFast with its default buffer size.

Definition at line 1212 of file csstring.h.


Constructor & Destructor Documentation

csString::csString (  )  [inline]

Create an empty csString object.

Definition at line 1216 of file csstring.h.

csString::csString ( size_t  Length  )  [inline]

Create a csString object and reserve space for at least Length characters.

Definition at line 1221 of file csstring.h.

csString::csString ( const csString copy  )  [inline]

Copy constructor.

Definition at line 1224 of file csstring.h.

csString::csString ( const csStringBase copy  )  [inline]

Copy constructor.

Definition at line 1226 of file csstring.h.

csString::csString ( const char *  src  )  [inline]

Create a csString object from a null-terminated C string.

Definition at line 1229 of file csstring.h.

csString::csString ( const char *  src,
size_t  _length 
) [inline]

Create a csString object from a C string, given the length.

Definition at line 1231 of file csstring.h.

csString::csString ( const wchar_t *  src  )  [inline]

Create a csString object from a null-terminated wide string.

Definition at line 1233 of file csstring.h.

csString::csString ( const wchar_t *  src,
size_t  _length 
) [inline]

Create a csStringBase object from a wide string, given the length.

Definition at line 1235 of file csstring.h.

csString::csString ( char  c  )  [inline]

Create a csString object from a single signed character.

Definition at line 1238 of file csstring.h.

csString::csString ( unsigned char  c  )  [inline]

Create a csString object from a single unsigned character.

Definition at line 1240 of file csstring.h.


Member Function Documentation

const csString& csString::operator= ( ulonglong  x  )  [inline]

Copy constructor.

Definition at line 1275 of file csstring.h.

const csString& csString::operator= ( longlong  x  )  [inline]

Copy constructor.

Definition at line 1273 of file csstring.h.

const csString& csString::operator= ( double  x  )  [inline]

Copy constructor.

Definition at line 1270 of file csstring.h.

const csString& csString::operator= ( float  x  )  [inline]

Copy constructor.

Definition at line 1268 of file csstring.h.

const csString& csString::operator= ( unsigned long  x  )  [inline]

Copy constructor.

Definition at line 1266 of file csstring.h.

const csString& csString::operator= ( long  x  )  [inline]

Copy constructor.

Definition at line 1264 of file csstring.h.

const csString& csString::operator= ( unsigned int  x  )  [inline]

Copy constructor.

Definition at line 1262 of file csstring.h.

const csString& csString::operator= ( int  x  )  [inline]

Copy constructor.

Definition at line 1260 of file csstring.h.

const csString& csString::operator= ( unsigned short  x  )  [inline]

Copy constructor.

Definition at line 1258 of file csstring.h.

const csString& csString::operator= ( short  x  )  [inline]

Copy constructor.

Definition at line 1256 of file csstring.h.

const csString& csString::operator= ( bool  x  )  [inline]

Copy constructor.

Definition at line 1254 of file csstring.h.

const csString& csString::operator= ( unsigned char  x  )  [inline]

Copy constructor.

Definition at line 1252 of file csstring.h.

const csString& csString::operator= ( char  x  )  [inline]

Copy constructor.

Definition at line 1250 of file csstring.h.

const csString& csString::operator= ( const char *  copy  )  [inline]

Copy constructor.

Definition at line 1248 of file csstring.h.

const csString& csString::operator= ( const csStringBase copy  )  [inline]

Copy constructor.

Reimplemented from csStringFast< LEN >.

Definition at line 1246 of file csstring.h.

const csString& csString::operator= ( const csString copy  )  [inline]

Assign a value to this string.

Reimplemented from csStringBase.

Definition at line 1244 of file csstring.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1