Livox SDK API  V2.2.0
fmt::v5::internal::prettify_handler Struct Reference

#include <format-inl.h>

Public Member Functions

 prettify_handler (buffer &b, ptrdiff_t n)
 
 ~prettify_handler ()
 
template<typename F >
void insert (ptrdiff_t pos, ptrdiff_t n, F f)
 
void insert (ptrdiff_t pos, char c)
 
void append (ptrdiff_t n, char c)
 
void append (char c)
 
void remove_trailing (char c)
 

Public Attributes

char * data
 
ptrdiff_t size
 
bufferbuf
 

Detailed Description

Definition at line 548 of file format-inl.h.

Constructor & Destructor Documentation

fmt::v5::internal::prettify_handler::prettify_handler ( buffer b,
ptrdiff_t  n 
)
inlineexplicit

Definition at line 553 of file format-inl.h.

fmt::v5::internal::prettify_handler::~prettify_handler ( )
inline

Definition at line 555 of file format-inl.h.

Member Function Documentation

void fmt::v5::internal::prettify_handler::append ( ptrdiff_t  n,
char  c 
)
inline

Definition at line 573 of file format-inl.h.

void fmt::v5::internal::prettify_handler::append ( char  c)
inline

Definition at line 578 of file format-inl.h.

template<typename F >
void fmt::v5::internal::prettify_handler::insert ( ptrdiff_t  pos,
ptrdiff_t  n,
f 
)
inline

Definition at line 561 of file format-inl.h.

void fmt::v5::internal::prettify_handler::insert ( ptrdiff_t  pos,
char  c 
)
inline

Definition at line 567 of file format-inl.h.

void fmt::v5::internal::prettify_handler::remove_trailing ( char  c)
inline

Definition at line 580 of file format-inl.h.

Member Data Documentation

buffer& fmt::v5::internal::prettify_handler::buf

Definition at line 551 of file format-inl.h.

char* fmt::v5::internal::prettify_handler::data

Definition at line 549 of file format-inl.h.

ptrdiff_t fmt::v5::internal::prettify_handler::size

Definition at line 550 of file format-inl.h.


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