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)
 
auto size () const -> size_t
 
auto data () const -> const char *
 
auto c_str () const -> const char *
 
auto str () const -> std::string
 

Detailed Description

Fast integer formatter.

Definition at line 2270 of file format.h.

Constructor & Destructor Documentation

format_int::format_int ( int  value)
inlineexplicit

Definition at line 2293 of file format.h.

format_int::format_int ( long  value)
inlineexplicit

Definition at line 2294 of file format.h.

format_int::format_int ( long long  value)
inlineexplicit

Definition at line 2295 of file format.h.

format_int::format_int ( unsigned  value)
inlineexplicit

Definition at line 2296 of file format.h.

format_int::format_int ( unsigned long  value)
inlineexplicit

Definition at line 2297 of file format.h.

format_int::format_int ( unsigned long long  value)
inlineexplicit

Definition at line 2298 of file format.h.

Member Function Documentation

auto format_int::c_str ( void  ) const -> const char*
inline

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

Definition at line 2316 of file format.h.

auto format_int::data ( ) const -> const char*
inline

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

Definition at line 2310 of file format.h.

auto format_int::size ( void  ) const -> size_t
inline

Returns the number of characters written to the output buffer.

Definition at line 2302 of file format.h.

auto format_int::str ( ) const -> std::string
inline

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

Definition at line 2326 of file format.h.


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