|
blocxx
|
#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 | |
| BLOCXX_COMMON_API std::ostream & | operator<< (std::ostream &os, const Format &f) |
Definition at line 49 of file Format.hpp.
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, |
| const A & | a ) |
Definition at line 108 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 ) |
Definition at line 120 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 ) |
Definition at line 133 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 ) |
Definition at line 147 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 ) |
Definition at line 162 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 ) |
Definition at line 178 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 ) |
Definition at line 195 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 ) |
Definition at line 213 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 ) |
Definition at line 232 of file Format.hpp.
References BLOCXX_NAMESPACE::String::empty(), i, process(), and put().
| BLOCXX_NAMESPACE::Format::Format | ( | const char * | ca, |
| const String & | a ) |
Definition at line 148 of file Format.cpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
Definition at line 159 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 171 of file Format.cpp.
References BLOCXX_NAMESPACE::String::empty(), process(), and put().
| const char * BLOCXX_NAMESPACE::Format::c_str | ( | ) | const |
Definition at line 55 of file Format.cpp.
References BLOCXX_NAMESPACE::OStringStream::c_str(), and oss.
Referenced by BLOCXX_NAMESPACE::SocketBaseImpl::connect(), BLOCXX_NAMESPACE::LogAppender::createLogAppender(), BLOCXX_NAMESPACE::Process::killWait(), and BLOCXX_NAMESPACE::throwStringConversion().
| BLOCXX_NAMESPACE::Format::operator String | ( | ) | const |
Definition at line 45 of file Format.cpp.
References BLOCXX_NAMESPACE::String::toString().
|
private |
Definition at line 60 of file Format.cpp.
References BLOCXX_NAMESPACE::String::erase(), i, BLOCXX_NAMESPACE::String::length(), oss, and BLOCXX_NAMESPACE::String::substring().
Referenced by Format(), Format(), Format(), Format(), Format(), Format(), Format(), Format(), Format(), Format(), Format(), and Format().
|
private |
Definition at line 136 of file Format.cpp.
|
private |
Definition at line 116 of file Format.cpp.
References oss.
|
private |
|
private |
Definition at line 140 of file Format.cpp.
|
private |
Definition at line 144 of file Format.cpp.
|
private |
Definition at line 142 of file Format.cpp.
|
private |
Definition at line 138 of file Format.cpp.
|
private |
Definition at line 137 of file Format.cpp.
|
private |
Definition at line 141 of file Format.cpp.
|
private |
Definition at line 145 of file Format.cpp.
|
private |
Definition at line 143 of file Format.cpp.
|
private |
Definition at line 139 of file Format.cpp.
| String BLOCXX_NAMESPACE::Format::toString | ( | ) | const |
Definition at line 50 of file Format.cpp.
References oss, and BLOCXX_NAMESPACE::OStringStream::toString().
Referenced by BLOCXX_NAMESPACE::ExceptionDetail::FormatMsg::FormatMsg().
|
friend |
Definition at line 109 of file Format.cpp.
|
private |
Definition at line 80 of file Format.hpp.
Referenced by c_str(), process(), put(), put(), and toString().