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 736 of file CeylanOperators.cc.

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

Definition at line 727 of file CeylanOperators.cc.

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

Definition at line 702 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 677 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 652 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 627 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 597 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 572 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 547 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 522 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 496 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 471 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 446 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 421 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 359 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 334 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 309 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 284 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 259 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 234 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 209 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 184 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 154 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 124 of file CeylanOperators.cc.

References Ceylan::DigitOutputPrecision.

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

Definition at line 94 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 Mon Nov 29 13:39:34 2010 for Ceylan by  doxygen 1.6.3