WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
detail::file_print_buffer< F, Enable > Class Template Reference

#include <fmt/format-inl.h>

Inheritance diagram for detail::file_print_buffer< F, Enable >:
detail::buffer< char >

Public Member Functions

 file_print_buffer (F *)
 
- Public Member Functions inherited from detail::buffer< char >
 buffer (const buffer &)=delete
 
void operator= (const buffer &)=delete
 
auto begin () noexcept -> char *
 
auto begin () const noexcept -> const char *
 
auto end () noexcept -> char *
 
auto end () const noexcept -> const char *
 
constexpr auto size () const noexcept -> size_t
 Returns the size of this buffer.
 
constexpr auto capacity () const noexcept -> size_t
 Returns the capacity of this buffer.
 
FMT_CONSTEXPR auto data () noexcept -> char *
 Returns a pointer to the buffer data (not null-terminated).
 
FMT_CONSTEXPR auto data () const noexcept -> const char *
 
FMT_CONSTEXPR void clear ()
 Clears this buffer.
 
FMT_CONSTEXPR void try_resize (size_t count)
 
FMT_CONSTEXPR void try_reserve (size_t new_capacity)
 
FMT_CONSTEXPR void push_back (const char &value)
 
FMT_CONSTEXPR20 void append (const U *begin, const U *end)
 Appends data to the end of the buffer.
 
FMT_CONSTEXPR auto operator[] (Idx index) -> char &
 
FMT_CONSTEXPR auto operator[] (Idx index) const -> const char &
 

Additional Inherited Members

- Public Types inherited from detail::buffer< char >
using value_type
 
using const_reference
 
- Protected Member Functions inherited from detail::buffer< char >
FMT_CONSTEXPR buffer (grow_fun grow, size_t sz) noexcept
 
constexpr buffer (grow_fun grow, char *p=nullptr, size_t sz=0, size_t cap=0) noexcept
 
 buffer (buffer &&)=default
 
FMT_CONSTEXPR20 ~buffer ()=default
 
FMT_CONSTEXPR void set (char *buf_data, size_t buf_capacity) noexcept
 Sets the buffer data and capacity.
 

Constructor & Destructor Documentation

◆ file_print_buffer()

template<typename F = FILE, typename Enable = void>
detail::file_print_buffer< F, Enable >::file_print_buffer ( F * )
inlineexplicit

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