Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
internal::specs_setter< Char > Class Template Reference

Public Member Functions

FMT_CONSTEXPR specs_setter (basic_format_specs< Char > &specs)
FMT_CONSTEXPR specs_setter (const specs_setter &other)
FMT_CONSTEXPR void on_align (align_t align)
FMT_CONSTEXPR void on_fill (Char fill)
FMT_CONSTEXPR void on_plus ()
FMT_CONSTEXPR void on_minus ()
FMT_CONSTEXPR void on_space ()
FMT_CONSTEXPR void on_comma ()
FMT_CONSTEXPR void on_underscore ()
FMT_CONSTEXPR void on_single_quote ()
FMT_CONSTEXPR void on_thousands (char sep)
FMT_CONSTEXPR void on_hash ()
FMT_CONSTEXPR void on_zero ()
FMT_CONSTEXPR void on_width (int width)
FMT_CONSTEXPR void on_precision (int precision)
FMT_CONSTEXPR void end_precision ()
FMT_CONSTEXPR void on_type (Char type)

Protected Attributes

basic_format_specs< Char > & specs_

Constructor & Destructor Documentation

◆ specs_setter() [1/2]

template<typename Char>
FMT_CONSTEXPR internal::specs_setter< Char >::specs_setter ( basic_format_specs< Char > & specs)
inlineexplicit
18297 : specs_(specs) {}
Definition duckdb.cpp:18294

◆ specs_setter() [2/2]

template<typename Char>
FMT_CONSTEXPR internal::specs_setter< Char >::specs_setter ( const specs_setter< Char > & other)
inline
18300 : specs_(other.specs_) {}

Member Function Documentation

◆ on_align()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_align ( align_t align)
inline
18302{ specs_.align = align; }

◆ on_fill()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_fill ( Char fill)
inline
18303{ specs_.fill[0] = fill; }

◆ on_plus()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_plus ( )
inline
18304{ specs_.sign = sign::plus; }

◆ on_minus()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_minus ( )
inline
18305{ specs_.sign = sign::minus; }

◆ on_space()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_space ( )
inline
18306{ specs_.sign = sign::space; }

◆ on_comma()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_comma ( )
inline
18307{ specs_.thousands = ','; }

◆ on_underscore()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_underscore ( )
inline
18308{ specs_.thousands = '_'; }

◆ on_single_quote()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_single_quote ( )
inline
18309{ specs_.thousands = '\''; }

◆ on_thousands()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_thousands ( char sep)
inline
18310{ specs_.thousands = sep; }

◆ on_hash()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_hash ( )
inline
18311{ specs_.alt = true; }

◆ on_zero()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_zero ( )
inline
18313 {
18314 specs_.align = align::numeric;
18315 specs_.fill[0] = Char('0');
18316 }

◆ on_width()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_width ( int width)
inline
18318{ specs_.width = width; }

◆ on_precision()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_precision ( int precision)
inline
18319 {
18320 specs_.precision = precision;
18321 }

◆ end_precision()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::end_precision ( )
inline
18322{}

◆ on_type()

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_type ( Char type)
inline
18324 {
18325 specs_.type = static_cast<char>(type);
18326 }

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