Agora  1.2.0
Agora project
spdlog::details::padding_info Struct Reference

#include <pattern_formatter.h>

Public Types

enum  pad_side { pad_side::left, pad_side::right, pad_side::center }
 

Public Member Functions

 padding_info ()=default
 
 padding_info (size_t width, padding_info::pad_side side, bool truncate)
 
bool enabled () const
 

Public Attributes

size_t width_ = 0
 
pad_side side_ = pad_side::left
 
bool truncate_ = false
 
bool enabled_ = false
 

Member Enumeration Documentation

◆ pad_side

Enumerator
left 
right 
center 

Constructor & Destructor Documentation

◆ padding_info() [1/2]

spdlog::details::padding_info::padding_info ( )
default

◆ padding_info() [2/2]

spdlog::details::padding_info::padding_info ( size_t  width,
padding_info::pad_side  side,
bool  truncate 
)
inline

Member Function Documentation

◆ enabled()

bool spdlog::details::padding_info::enabled ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ enabled_

bool spdlog::details::padding_info::enabled_ = false

◆ side_

pad_side spdlog::details::padding_info::side_ = pad_side::left

◆ truncate_

bool spdlog::details::padding_info::truncate_ = false

◆ width_

size_t spdlog::details::padding_info::width_ = 0

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