quill
Public Member Functions | List of all members
detail::file_print_buffer< F, Enable > Class Template Reference
Inheritance diagram for detail::file_print_buffer< F, Enable >:
Inheritance graph
[legend]
Collaboration diagram for detail::file_print_buffer< F, Enable >:
Collaboration graph
[legend]

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.
 
FMTQUILL_CONSTEXPR auto data () noexcept -> char *
 Returns a pointer to the buffer data (not null-terminated).
 
FMTQUILL_CONSTEXPR auto data () const noexcept -> const char *
 
FMTQUILL_CONSTEXPR void clear ()
 Clears this buffer.
 
FMTQUILL_CONSTEXPR void try_resize (size_t count)
 
FMTQUILL_CONSTEXPR void try_reserve (size_t new_capacity)
 
FMTQUILL_CONSTEXPR void push_back (const char &value)
 
FMTQUILL_CONSTEXPR20 void append (const U *begin, const U *end)
 Appends data to the end of the buffer.
 
FMTQUILL_CONSTEXPR auto operator[] (Idx index) -> char &
 
FMTQUILL_CONSTEXPR auto operator[] (Idx index) const -> const char &
 

Additional Inherited Members

- Public Types inherited from detail::buffer< char >
using value_type = char
 
using const_reference = const char &
 
- Protected Types inherited from detail::buffer< char >
using grow_fun = void(*)(buffer &buf, size_t capacity)
 
- Protected Member Functions inherited from detail::buffer< char >
FMTQUILL_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
 
FMTQUILL_CONSTEXPR void set (char *buf_data, size_t buf_capacity) noexcept
 Sets the buffer data and capacity.
 
- Protected Attributes inherited from detail::buffer< char >
char * ptr_
 
size_t size_
 
size_t capacity_
 
grow_fun grow_
 

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