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 ()
 Create an empty csString object.
 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 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 (const csString &copy)
 Copy constructor.
 csString (const csStringBase &copy)
 Copy constructor.

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

Detailed Description

Thin wrapper around csStringFast<> with its default buffer size.

Definition at line 1158 of file csstring.h.


Constructor & Destructor Documentation

csString::csString (  )  [inline]

Create an empty csString object.

Definition at line 1162 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 1167 of file csstring.h.

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

Copy constructor.

Definition at line 1170 of file csstring.h.

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

Copy constructor.

Definition at line 1172 of file csstring.h.

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

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

Definition at line 1175 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 1177 of file csstring.h.

csString::csString ( char  c  )  [inline]

Create a csString object from a single signed character.

Definition at line 1179 of file csstring.h.

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

Create a csString object from a single unsigned character.

Definition at line 1181 of file csstring.h.


Member Function Documentation

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

Assign a value to this string.

Definition at line 1185 of file csstring.h.

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

Assign a value to this string.

Definition at line 1216 of file csstring.h.

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

Assign a value to this string.

Definition at line 1214 of file csstring.h.

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

Assign a value to this string.

Definition at line 1211 of file csstring.h.

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

Assign a value to this string.

Definition at line 1209 of file csstring.h.

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

Assign a value to this string.

Definition at line 1207 of file csstring.h.

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

Assign a value to this string.

Definition at line 1205 of file csstring.h.

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

Assign a value to this string.

Definition at line 1203 of file csstring.h.

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

Assign a value to this string.

Definition at line 1201 of file csstring.h.

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

Assign a value to this string.

Definition at line 1199 of file csstring.h.

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

Assign a value to this string.

Definition at line 1197 of file csstring.h.

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

Assign a value to this string.

Definition at line 1195 of file csstring.h.

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

Assign a value to this string.

Definition at line 1193 of file csstring.h.

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

Assign a value to this string.

Definition at line 1191 of file csstring.h.

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

Assign a value to this string.

Definition at line 1189 of file csstring.h.

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

Assign a value to this string.

Reimplemented from csStringFast< LEN >.

Definition at line 1187 of file csstring.h.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1