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

/ray/src/lib/tl/tlstring.h File Reference

Thread-save reference-counting string class. More...

#include <lib/sconfig.h>
#include <lib/salloc.h>
#include <lib/threads/atomic.h>

Include dependency graph for tlstring.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  TLString
 Thread-save reference-counting string class. More...

struct  TLString::SData
 Internally used by TLString to store/share strings. More...


Defines

#define _TemplateLibrary_TLString_H_   1

Functions

TLString operator+ (const TLString &strA, const TLString &strB)
 Concatenate strings.

TLString operator+ (const TLString &strA, const char *strB)
 Concatenate strings.

TLString operator+ (const char *strA, const TLString &strB)
 Concatenate strings.


Detailed Description

Thread-save reference-counting string class.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [

Definition in file tlstring.h.


Define Documentation

#define _TemplateLibrary_TLString_H_   1
 

Definition at line 18 of file tlstring.h.


Function Documentation

bool operator!= const char *  strA,
const TLString strB
[inline]
 

Definition at line 432 of file tlstring.h.

bool operator!= const TLString strA,
const char *  strB
[inline]
 

Definition at line 430 of file tlstring.h.

References operator==().

bool operator!= const TLString strA,
const TLString strB
[inline]
 

NOTE that two NULL refs are always equal (i.e. never unequal); NULL strings behave like NULL refs.

Definition at line 428 of file tlstring.h.

References operator==().

TLString operator+ const char *  strA,
const TLString strB
[inline]
 

Concatenate strings.

Definition at line 403 of file tlstring.h.

TLString operator+ const TLString strA,
const char *  strB
[inline]
 

Concatenate strings.

Definition at line 400 of file tlstring.h.

TLString operator+ const TLString strA,
const TLString strB
[inline]
 

Concatenate strings.

Definition at line 397 of file tlstring.h.

bool operator< const char *  strA,
const TLString strB
[inline]
 

Definition at line 446 of file tlstring.h.

References operator>().

Referenced by operator>().

bool operator< const TLString strA,
const char *  strB
 

Definition at line 315 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator< const TLString strA,
const TLString strB
 

The < and > operators return 0 if at least one string is NULL.

Definition at line 293 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator<= const char *  strA,
const TLString strB
[inline]
 

Definition at line 457 of file tlstring.h.

References operator>=().

Referenced by operator>=().

bool operator<= const TLString strA,
const char *  strB
 

Definition at line 380 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator<= const TLString strA,
const TLString strB
 

Definition at line 358 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator== const char *  strA,
const TLString strB
[inline]
 

Definition at line 417 of file tlstring.h.

Referenced by operator!=().

bool operator== const TLString strA,
const char *  strB
 

Definition at line 270 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator== const TLString strA,
const TLString strB
 

NOTE that two NULL refs are always equal; NULL strings behave like NULL refs.

Definition at line 253 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator> const char *  strA,
const TLString strB
[inline]
 

Definition at line 448 of file tlstring.h.

References operator<().

Referenced by operator<().

bool operator> const TLString strA,
const char *  strB
 

Definition at line 336 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator> const TLString strA,
const TLString strB
[inline]
 

Definition at line 441 of file tlstring.h.

References operator<().

bool operator>= const char *  strA,
const TLString strB
[inline]
 

Definition at line 459 of file tlstring.h.

References operator<=().

Referenced by operator<=().

bool operator>= const TLString strA,
const char *  strB
 

Definition at line 401 of file tlstring.cc.

References TLString::_aqrefN(), TLString::_derefN(), and TLString::d.

bool operator>= const TLString strA,
const TLString strB
[inline]
 

Definition at line 452 of file tlstring.h.

References operator<=().


Generated on Sat Feb 19 22:34:57 2005 for Ray by doxygen 1.3.5