WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
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 2813 of file format.h.

Constructor & Destructor Documentation

◆ format_int() [1/6]

format_int::format_int ( int  value)
inlineexplicit

Definition at line 2854 of file format.h.

◆ format_int() [2/6]

format_int::format_int ( long  value)
inlineexplicit

Definition at line 2855 of file format.h.

◆ format_int() [3/6]

format_int::format_int ( long long  value)
inlineexplicit

Definition at line 2856 of file format.h.

◆ format_int() [4/6]

format_int::format_int ( unsigned  value)
inlineexplicit

Definition at line 2857 of file format.h.

◆ format_int() [5/6]

format_int::format_int ( unsigned long  value)
inlineexplicit

Definition at line 2858 of file format.h.

◆ format_int() [6/6]

format_int::format_int ( unsigned long long  value)
inlineexplicit

Definition at line 2859 of file format.h.

Member Function Documentation

◆ c_str()

const char* format_int::c_str ( ) const
inline

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

Definition at line 2876 of file format.h.

◆ data()

const char* format_int::data ( ) const
inline

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

Definition at line 2870 of file format.h.

◆ size()

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

Returns the number of characters written to the output buffer.

Definition at line 2862 of file format.h.

Here is the call graph for this function:

◆ str()

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

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

Definition at line 2886 of file format.h.


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