rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
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 45 of file iosformat.h.

Member Typedef Documentation

◆ CharT

using beast::divider::CharT = char

Definition at line 47 of file iosformat.h.

Constructor & Destructor Documentation

◆ divider()

beast::divider::divider ( int  width_ = 80,
CharT  fill_ = CharT('-') 
)
explicit

Definition at line 48 of file iosformat.h.

Friends And Related Symbol Documentation

◆ 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 55 of file iosformat.h.

Member Data Documentation

◆ width

int const beast::divider::width

Definition at line 52 of file iosformat.h.

◆ fill

CharT const beast::divider::fill

Definition at line 53 of file iosformat.h.