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

Creates a padded field with an optional fill character. More...

#include <iosformat.h>

Public Member Functions

 Fpad (int width, int pad=0, char fill=' ')

Public Attributes

int const width
char const fill

Friends

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

Detailed Description

Creates a padded field with an optional fill character.

Definition at line 59 of file iosformat.h.

Constructor & Destructor Documentation

◆ Fpad()

beast::Fpad::Fpad ( int width,
int pad = 0,
char fill = ' ' )
explicit

Definition at line 61 of file iosformat.h.

◆ operator<<

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

Definition at line 67 of file iosformat.h.

Member Data Documentation

◆ width

int const beast::Fpad::width

Definition at line 64 of file iosformat.h.

◆ fill

char const beast::Fpad::fill

Definition at line 65 of file iosformat.h.