Warning: this documentation for the development version is under construction.
This class helps formatting C++ strings on the fly. More...
#include <Common.hxx>
Public Member Functions | |
Str () | |
Default constructor. | |
Str (const Str &s) | |
Copy constructor. | |
operator std::string () const | |
Conversion to string. | |
template<class T > | |
Str & | operator<< (const T &input) |
Adds an element to the string. |
This class helps formatting C++ strings on the fly.
It should may be used like that: string output = Str() + "There are " + 3 + " laws of robotics.";
Definition at line 45 of file Common.hxx.
Seldon::Str::Str | ( | const Str & | s | ) |
Copy constructor.
[in] | s | 'Str' instance to be copied. |
Definition at line 46 of file Common.cxx.
Str & Seldon::Str::operator<< | ( | const T & | input | ) |
Adds an element to the string.
[in] | input | element added at the end of the string. |
Definition at line 64 of file Common.cxx.