CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csstring.h File Reference

String utility class. More...

#include <stdarg.h>
#include <ctype.h>
#include "csextern.h"
#include "snprintf.h"
#include "util.h"

Go to the source code of this file.

Classes

class  csString
 This is a string class with a range of useful operators and type-safe overloads. More...

Functions

csString operator+ (const char *iStr1, const csString &iStr2)
 Concatenate a null-terminated C-string with a csString.
csString operator+ (const csString &iStr1, const char *iStr2)
 Concatenate a csString with a null-terminated C-string.


Detailed Description

String utility class.

Definition in file csstring.h.


Function Documentation

csString operator+ const csString iStr1,
const char *  iStr2
[inline]
 

Concatenate a csString with a null-terminated C-string.

Definition at line 951 of file csstring.h.

References csString::Append(), and csString::Clone().

csString operator+ const char *  iStr1,
const csString iStr2
[inline]
 

Concatenate a null-terminated C-string with a csString.

Definition at line 945 of file csstring.h.

References csString::Append().

csString& operator<< csString s,
bool  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 978 of file csstring.h.

csString& operator<< csString s,
double  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 977 of file csstring.h.

csString& operator<< csString s,
float  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 976 of file csstring.h.

csString& operator<< csString s,
unsigned long  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 975 of file csstring.h.

csString& operator<< csString s,
long  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 974 of file csstring.h.

csString& operator<< csString s,
unsigned int  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 973 of file csstring.h.

csString& operator<< csString s,
int  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 972 of file csstring.h.

csString& operator<< csString s,
unsigned short  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 971 of file csstring.h.

csString& operator<< csString s,
short  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 970 of file csstring.h.

csString& operator<< csString s,
unsigned char  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 969 of file csstring.h.

csString& operator<< csString s,
char  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 968 of file csstring.h.

csString& operator<< csString s,
const char *  v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 967 of file csstring.h.

csString& operator<< csString s,
const csString v
[inline]
 

Shift operator.

For example:

 s << "Hi " << name << "; see " << foo;

Definition at line 966 of file csstring.h.


Generated for Crystal Space by doxygen 1.3.9.1