#include <Format.hpp>
Public Member Functions | |
| operator String () const | |
| String | toString () const |
| const char * | c_str () const |
| template<typename A> | |
| Format (const char *ca, const A &a) | |
| template<typename A, typename B> | |
| Format (const char *ca, const A &a, const B &b) | |
| template<typename A, typename B, typename C> | |
| Format (const char *ca, const A &a, const B &b, const C &c) | |
| template<typename A, typename B, typename C, typename D> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d) | |
| template<typename A, typename B, typename C, typename D, typename E> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e) | |
| template<typename A, typename B, typename C, typename D, typename E, typename F> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f) | |
| template<typename A, typename B, typename C, typename D, typename E, typename F, typename G> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g) | |
| template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h) | |
| template<typename A, typename B, typename C, typename D, typename E, typename F, typename G, typename H, typename I> | |
| Format (const char *ca, const A &a, const B &b, const C &c, const D &d, const E &e, const F &f, const G &g, const H &h, const I &i) | |
| Format (const char *ca, const String &a) | |
| Format (const char *ca, const String &a, const String &b) | |
| Format (const char *ca, const String &a, const String &b, const String &c) | |
Private Member Functions | |
| char | process (String &f, char c0) |
| template<typename T> | |
| void | put (const T &t) |
| void | put (const String &t) |
| void | put (char t) |
| void | put (unsigned char t) |
| void | put (short t) |
| void | put (unsigned short t) |
| void | put (int t) |
| void | put (unsigned int t) |
| void | put (long t) |
| void | put (unsigned long t) |
| void | put (long long t) |
| void | put (unsigned long long t) |
Private Attributes | |
| OStringStream | oss |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Format &f) |
Definition at line 48 of file Format.hpp.
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a | |||
| ) | [inline] |
Definition at line 107 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b | |||
| ) | [inline] |
Definition at line 119 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c | |||
| ) | [inline] |
Definition at line 132 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d | |||
| ) | [inline] |
Definition at line 146 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d, | |||
| const E & | e | |||
| ) | [inline] |
Definition at line 161 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d, | |||
| const E & | e, | |||
| const F & | f | |||
| ) | [inline] |
Definition at line 177 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d, | |||
| const E & | e, | |||
| const F & | f, | |||
| const G & | g | |||
| ) | [inline] |
Definition at line 194 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d, | |||
| const E & | e, | |||
| const F & | f, | |||
| const G & | g, | |||
| const H & | h | |||
| ) | [inline] |
Definition at line 212 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const A & | a, | |||
| const B & | b, | |||
| const C & | c, | |||
| const D & | d, | |||
| const E & | e, | |||
| const F & | f, | |||
| const G & | g, | |||
| const H & | h, | |||
| const I & | i | |||
| ) | [inline] |
Definition at line 231 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const String & | a | |||
| ) |
Definition at line 147 of file Format.cpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
Definition at line 158 of file Format.cpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, | |
| const String & | a, | |||
| const String & | b, | |||
| const String & | c | |||
| ) |
Definition at line 170 of file Format.cpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| BLOCXX_NAMESPACE::Format::operator String | ( | ) | const |
Definition at line 44 of file Format.cpp.
References oss, and BLOCXX_NAMESPACE::OStringStream::toString().
| String BLOCXX_NAMESPACE::Format::toString | ( | ) | const |
Definition at line 49 of file Format.cpp.
References oss, and BLOCXX_NAMESPACE::OStringStream::toString().
| const char * BLOCXX_NAMESPACE::Format::c_str | ( | ) | const |
Definition at line 54 of file Format.cpp.
References BLOCXX_NAMESPACE::OStringStream::c_str(), and oss.
Referenced by BLOCXX_NAMESPACE::killWait().
| char BLOCXX_NAMESPACE::Format::process | ( | String & | f, | |
| char | c0 | |||
| ) | [private] |
Definition at line 59 of file Format.cpp.
References BLOCXX_NAMESPACE::String::erase(), i, BLOCXX_NAMESPACE::String::length(), oss, and BLOCXX_NAMESPACE::String::substring().
Referenced by Format().
| void BLOCXX_NAMESPACE::Format::put | ( | const T & | t | ) | [inline, private] |
| void BLOCXX_NAMESPACE::Format::put | ( | const String & | t | ) | [private] |
| void BLOCXX_NAMESPACE::Format::put | ( | char | t | ) | [private] |
Definition at line 135 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | unsigned char | t | ) | [private] |
Definition at line 136 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | short | t | ) | [private] |
Definition at line 137 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | unsigned short | t | ) | [private] |
Definition at line 138 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | int | t | ) | [private] |
Definition at line 139 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | unsigned int | t | ) | [private] |
Definition at line 140 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | long | t | ) | [private] |
Definition at line 141 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | unsigned long | t | ) | [private] |
Definition at line 142 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | long long | t | ) | [private] |
Definition at line 143 of file Format.cpp.
| void BLOCXX_NAMESPACE::Format::put | ( | unsigned long long | t | ) | [private] |
Definition at line 144 of file Format.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Format & | f | |||
| ) | [friend] |
Definition at line 109 of file Format.cpp.
OStringStream BLOCXX_NAMESPACE::Format::oss [private] |
Definition at line 79 of file Format.hpp.
Referenced by c_str(), operator String(), BLOCXX_NAMESPACE::operator<<(), process(), put(), and toString().
1.5.3