#include <String.h>
Public Member Functions | |
size_t | size () const |
Returns the number of characters written to the output buffer. More... | |
const char * | data () const |
Returns a pointer to the output buffer content. More... | |
const char * | c_str () const |
Returns a pointer to the output buffer content with terminating null character appended. More... | |
std::string | str () const |
Returns the content of the output buffer as an std::string . More... | |
char * | append_to (char *p) const |
Appends the converted number to the buffer specified, returns the forwarded pointer. More... | |
Protected Member Functions | |
NumericFormatter () | |
void | format_unsigned (T value) |
void | format_signed (T value) |
Private Types | |
enum | { BUFFER_SIZE = std::numeric_limits<T>::digits10 + 3 } |
Private Attributes | |
char | buf [BUFFER_SIZE] |
char * | s |
Additional Inherited Members | |
Static Protected Attributes inherited from Hypertable::NumericFormatterDigits | |
static const char | DIGITS [] |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
private |
|
private |