WPILibC++ 2023.4.3-108-ge5452e3
format_int Class Reference

Fast integer formatter. More...

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/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
 Returns the number of characters written to the output buffer. More...
 
auto data () const -> const char *
 Returns a pointer to the output buffer content. More...
 
auto c_str () const -> const char *
 Returns a pointer to the output buffer content with terminating null character appended. More...
 
auto str () const -> std::string
 \rst Returns the content of the output buffer as an std::string. More...
 

Detailed Description

Fast integer formatter.

Constructor & Destructor Documentation

◆ format_int() [1/6]

format_int::format_int ( int  value)
inlineexplicit

◆ format_int() [2/6]

format_int::format_int ( long  value)
inlineexplicit

◆ format_int() [3/6]

format_int::format_int ( long long  value)
inlineexplicit

◆ format_int() [4/6]

format_int::format_int ( unsigned  value)
inlineexplicit

◆ format_int() [5/6]

format_int::format_int ( unsigned long  value)
inlineexplicit

◆ format_int() [6/6]

format_int::format_int ( unsigned long long  value)
inlineexplicit

Member Function Documentation

◆ c_str()

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

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

◆ data()

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

Returns a pointer to the output buffer content.

No terminating null character is appended.

◆ size()

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

Returns the number of characters written to the output buffer.

◆ str()

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

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

\endrst


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