GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::Formatter< Integer > Struct Template Reference

#include <GREM/core/formatting.hpp>

Public Member Functions

constexpr const char * parseFormatSpecification (const char *p)
void formatTo (FormatOutput &output, Integer value) const

Public Attributes

size_t minWidth = 0
int radix = 10
char fill = ' '
char alignment = '\0'
char sign = '-'
bool addRadixPrefix = false
bool makeUppercase = false

Member Function Documentation

◆ parseFormatSpecification()

template<grem::strict_integral Integer>
const char * grem::Formatter< Integer >::parseFormatSpecification ( const char * p)
inlinenodiscardconstexpr

◆ formatTo()

template<grem::strict_integral Integer>
void grem::Formatter< Integer >::formatTo ( FormatOutput & output,
Integer value ) const
inline

Member Data Documentation

◆ minWidth

template<grem::strict_integral Integer>
size_t grem::Formatter< Integer >::minWidth = 0

◆ radix

template<grem::strict_integral Integer>
int grem::Formatter< Integer >::radix = 10

◆ fill

template<grem::strict_integral Integer>
char grem::Formatter< Integer >::fill = ' '

◆ alignment

template<grem::strict_integral Integer>
char grem::Formatter< Integer >::alignment = '\0'

◆ sign

template<grem::strict_integral Integer>
char grem::Formatter< Integer >::sign = '-'

◆ addRadixPrefix

template<grem::strict_integral Integer>
bool grem::Formatter< Integer >::addRadixPrefix = false

◆ makeUppercase

template<grem::strict_integral Integer>
bool grem::Formatter< Integer >::makeUppercase = false

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