basic_format_spec
More...
#include <basic_format_spec.h>
|
ETL_CONSTEXPR | basic_format_spec () |
| Default constructor.
|
|
ETL_CONSTEXPR | basic_format_spec (uint_least8_t base__, uint_least8_t width__, uint_least8_t precision__, bool upper_case__, bool left_justified__, bool boolalpha__, bool show_base__, typename TString::value_type fill__) |
| Constructor.
|
|
ETL_CONSTEXPR14 void | clear () |
| Clears the format spec back to default.
|
|
ETL_CONSTEXPR14 basic_format_spec & | base (uint32_t b) |
|
ETL_CONSTEXPR14 basic_format_spec & | binary () |
|
ETL_CONSTEXPR14 basic_format_spec & | octal () |
|
ETL_CONSTEXPR14 basic_format_spec & | decimal () |
|
ETL_CONSTEXPR14 basic_format_spec & | hex () |
|
ETL_CONSTEXPR uint32_t | get_base () const |
| Gets the base.
|
|
ETL_CONSTEXPR14 basic_format_spec & | show_base (bool b) |
|
ETL_CONSTEXPR bool | is_show_base () const |
| Gets the show base flag.
|
|
ETL_CONSTEXPR14 basic_format_spec & | width (uint32_t w) |
|
ETL_CONSTEXPR uint32_t | get_width () const |
| Gets the width.
|
|
ETL_CONSTEXPR14 basic_format_spec & | precision (uint32_t p) |
|
ETL_CONSTEXPR uint32_t | get_precision () const |
| Gets the precision.
|
|
ETL_CONSTEXPR14 basic_format_spec & | upper_case (bool u) |
|
ETL_CONSTEXPR bool | is_upper_case () const |
| Gets the upper case flag.
|
|
ETL_CONSTEXPR14 basic_format_spec & | fill (typename TString::value_type c) |
|
ETL_CONSTEXPR TString::value_type | get_fill () const |
| Gets the fill character.
|
|
ETL_CONSTEXPR14 basic_format_spec & | left () |
|
ETL_CONSTEXPR bool | is_left () const |
| Gets the left justify flag.
|
|
ETL_CONSTEXPR14 basic_format_spec & | right () |
|
ETL_CONSTEXPR bool | is_right () const |
| Gets the right justify flag.
|
|
ETL_CONSTEXPR14 basic_format_spec & | boolalpha (bool b) |
|
ETL_CONSTEXPR bool | is_boolalpha () const |
| Gets the boolalpha flag.
|
|
template<typename TString>
class etl::basic_format_spec< TString >
basic_format_spec
◆ base()
template<typename TString >
◆ binary()
template<typename TString >
◆ boolalpha()
template<typename TString >
◆ decimal()
template<typename TString >
◆ fill()
template<typename TString >
◆ hex()
template<typename TString >
◆ left()
template<typename TString >
◆ octal()
template<typename TString >
◆ precision()
template<typename TString >
◆ right()
template<typename TString >
◆ show_base()
template<typename TString >
◆ upper_case()
template<typename TString >
◆ width()
template<typename TString >
The documentation for this class was generated from the following file: