HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
format_int Class Reference

#include <format.h>

Public Member Functions

 format_int (int value)
 
 format_int (long value)
 
 format_int (long long value)
 
 format_int (unsigned value)
 
 format_int (unsigned long value)
 
 format_int (unsigned long long value)
 
std::size_t size () const
 
const char * data () const
 
const char * c_str () const
 
std::string str () const
 

Detailed Description

Fast integer formatter.

Definition at line 2965 of file format.h.

Constructor & Destructor Documentation

format_int::format_int ( int  value)
inlineexplicit

Definition at line 3006 of file format.h.

format_int::format_int ( long  value)
inlineexplicit

Definition at line 3007 of file format.h.

format_int::format_int ( long long  value)
inlineexplicit

Definition at line 3008 of file format.h.

format_int::format_int ( unsigned  value)
inlineexplicit

Definition at line 3009 of file format.h.

format_int::format_int ( unsigned long  value)
inlineexplicit

Definition at line 3010 of file format.h.

format_int::format_int ( unsigned long long  value)
inlineexplicit

Definition at line 3011 of file format.h.

Member Function Documentation

const char* format_int::c_str ( void  ) const
inline

Returns a pointer to the output buffer content with terminating null character appended.

Definition at line 3028 of file format.h.

const char* format_int::data ( ) const
inline

Returns a pointer to the output buffer content. No terminating null character is appended.

Definition at line 3022 of file format.h.

std::size_t format_int::size ( void  ) const
inline

Returns the number of characters written to the output buffer.

Definition at line 3014 of file format.h.

std::string format_int::str ( ) const
inline

Returns the content of the output buffer as an std::string.

Definition at line 3038 of file format.h.


The documentation for this class was generated from the following file: