sparrow 1.3.0
Loading...
Searching...
No Matches
sparrow::detail::sequence_format_spec Struct Reference

#include <format.hpp>

Collaboration diagram for sparrow::detail::sequence_format_spec:
[legend]

Public Member Functions

template<class It>
constexpr It parse (It it, It end)
 
std::string apply_alignment (std::string inner) const
 
template<class Seq>
std::string build_core (const Seq &seq) const
 

Public Attributes

char fill = ' '
 
char align = '>'
 
std::size_t width = 0
 

Detailed Description

Definition at line 33 of file format.hpp.

Member Function Documentation

◆ apply_alignment()

std::string sparrow::detail::sequence_format_spec::apply_alignment ( std::string inner) const
inline

Definition at line 91 of file format.hpp.

◆ build_core()

template<class Seq>
std::string sparrow::detail::sequence_format_spec::build_core ( const Seq & seq) const
inline

Definition at line 116 of file format.hpp.

◆ parse()

template<class It>
It sparrow::detail::sequence_format_spec::parse ( It it,
It end )
inlineconstexpr

Definition at line 42 of file format.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ align

char sparrow::detail::sequence_format_spec::align = '>'

Definition at line 36 of file format.hpp.

◆ fill

char sparrow::detail::sequence_format_spec::fill = ' '

Definition at line 35 of file format.hpp.

◆ width

std::size_t sparrow::detail::sequence_format_spec::width = 0

Definition at line 37 of file format.hpp.


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