fiber
Loading...
Searching...
No Matches
fiber::FormatIntParams Struct Reference

#include <OStream.hpp>

Inheritance diagram for fiber::FormatIntParams:
fiber::FormatStrParams fiber::_FormatUIntParams fiber::FormatFloatParams fiber::FormatInt< Int > fiber::FormatIntSuffixParams fiber::FormatFloat fiber::FormatIntSuffix< Int >

Public Member Functions

constexpr FormatIntParams ()=default
 
constexpr FormatIntParams (const FormatIntParams &)=default
 
constexpr FormatIntParamsoperator= (const FormatIntParams &)=default
 
constexpr FormatIntParams (const FormatStrParams &params)
 
constexpr FormatIntParamsoperator= (const FormatStrParams &params)
 

Public Attributes

bool _force_sign = false
 
bool _pad_sign = false
 
- Public Attributes inherited from fiber::FormatStrParams
AlignmentLRC _alignment = AlignmentLRC::Right
 
int _mwidth = 0
 
char _fill = ' '
 
- Public Attributes inherited from fiber::_FormatUIntParams
char _thousands_char = ','
 
bool _use_thousands = false
 

Constructor & Destructor Documentation

◆ FormatIntParams() [1/3]

fiber::FormatIntParams::FormatIntParams ( )
constexprdefault

◆ FormatIntParams() [2/3]

fiber::FormatIntParams::FormatIntParams ( const FormatIntParams & )
constexprdefault

◆ FormatIntParams() [3/3]

fiber::FormatIntParams::FormatIntParams ( const FormatStrParams & params)
inlineconstexpr

Member Function Documentation

◆ operator=() [1/2]

FormatIntParams & fiber::FormatIntParams::operator= ( const FormatIntParams & )
constexprdefault

◆ operator=() [2/2]

FormatIntParams & fiber::FormatIntParams::operator= ( const FormatStrParams & params)
inlineconstexpr

Member Data Documentation

◆ _force_sign

bool fiber::FormatIntParams::_force_sign = false

◆ _pad_sign

bool fiber::FormatIntParams::_pad_sign = false

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