CeylanOperators.cc File Reference

#include "CeylanOperators.h"
#include "CeylanStringUtils.h"
#include <sstream>

Include dependency graph for CeylanOperators.cc:

Go to the source code of this file.

Functions

string operator+ (const string &s, Ceylan::Sint8 i)
 For all these operators, using an internal static string instead of a string would be faster, but the code would then not be reentrant: a mutex should be added in this case.
string operator+ (Ceylan::Sint8 i, const string &s)
string operator+ (const string &s, Ceylan::Uint8 i)
string operator+ (Ceylan::Uint8 i, const string &s)
string operator+ (const string &s, Ceylan::Sint16 i)
string operator+ (Ceylan::Sint16 i, const string &s)
string operator+ (const string &s, Ceylan::Uint16 i)
string operator+ (Ceylan::Uint16 i, const string &s)
string operator+ (const string &s, Ceylan::Sint32 i)
string operator+ (Ceylan::Sint32 i, const string &s)
string operator+ (const string &s, Ceylan::Uint32 i)
string operator+ (Ceylan::Uint32 i, const string &s)
string operator+ (const string &s, Ceylan::SignedLongInteger i)
string operator+ (Ceylan::SignedLongInteger i, const string &s)
string operator+ (const string &s, Ceylan::UnsignedLongInteger i)
string operator+ (Ceylan::UnsignedLongInteger i, const string &s)
string operator+ (const string &s, Ceylan::Float32 i)
string operator+ (Ceylan::Float32 i, const string &s)
string operator+ (const string &s, Ceylan::Float64 i)
string operator+ (Ceylan::Float64 i, const string &s)
string operator+ (const string &s, Ceylan::LongFloat i)
string operator+ (Ceylan::LongFloat i, const string &s)
string operator+ (const string &s, const void *p)
string operator+ (const void *p, const string &s)
string operator+ (const string &a, const char *b)
string operator+ (const char *a, const string &b)


Function Documentation

string operator+ ( const char *  a,
const string &  b 
)

Definition at line 784 of file CeylanOperators.cc.

string operator+ ( const string &  a,
const char *  b 
)

Definition at line 775 of file CeylanOperators.cc.

string operator+ ( const void *  p,
const string &  s 
)

Definition at line 748 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
const void *  p 
)

Definition at line 721 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::LongFloat  i,
const string &  s 
)

Definition at line 694 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::LongFloat  i 
)

Definition at line 667 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Float64  i,
const string &  s 
)

Definition at line 635 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Float64  i 
)

Definition at line 608 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Float32  i,
const string &  s 
)

Definition at line 581 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Float32  i 
)

Definition at line 554 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::UnsignedLongInteger  i,
const string &  s 
)

Definition at line 526 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::UnsignedLongInteger  i 
)

Definition at line 499 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::SignedLongInteger  i,
const string &  s 
)

Definition at line 472 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::SignedLongInteger  i 
)

Definition at line 445 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Uint32  i,
const string &  s 
)

Definition at line 381 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Uint32  i 
)

Definition at line 354 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Sint32  i,
const string &  s 
)

Definition at line 327 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Sint32  i 
)

Definition at line 300 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Uint16  i,
const string &  s 
)

Definition at line 273 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Uint16  i 
)

Definition at line 246 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Sint16  i,
const string &  s 
)

Definition at line 219 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Sint16  i 
)

Definition at line 192 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Uint8  i,
const string &  s 
)

Definition at line 160 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Uint8  i 
)

Definition at line 128 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( Ceylan::Sint8  i,
const string &  s 
)

Definition at line 96 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

string operator+ ( const string &  s,
Ceylan::Sint8  i 
)

For all these operators, using an internal static string instead of a string would be faster, but the code would then not be reentrant: a mutex should be added in this case.

This module offers the operators lacking in C++ in order to perform appending of numerical values to standard strings, and basic string conversion.

See also:
MutexHolder.

Definition at line 64 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.


Generated on Thu Jun 4 20:39:47 2009 for Ceylan by  doxygen 1.5.8