xrpld
Loading...
Searching...
No Matches
beast::Divider Struct Reference

Produce a dashed line separator, with a specified or default size. More...

#include <iosformat.h>

Public Types

using CharT = char

Public Member Functions

 Divider (int width=80, CharT fill=CharT('-'))

Public Attributes

int const width
CharT const fill

Friends

template<class CharT, class Traits>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, Divider const &d)

Detailed Description

Produce a dashed line separator, with a specified or default size.

Definition at line 41 of file iosformat.h.

Member Typedef Documentation

◆ CharT

using beast::Divider::CharT = char

Definition at line 43 of file iosformat.h.

Constructor & Destructor Documentation

◆ Divider()

beast::Divider::Divider ( int width = 80,
CharT fill = CharT('-') )
explicit

Definition at line 44 of file iosformat.h.

◆ operator<<

template<class CharT, class Traits>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > & os,
Divider const & d )
friend

Definition at line 50 of file iosformat.h.

Member Data Documentation

◆ width

int const beast::Divider::width

Definition at line 47 of file iosformat.h.

◆ fill

CharT const beast::Divider::fill

Definition at line 48 of file iosformat.h.