Flow123d  3.9.1-0844c3d
Public Member Functions | Protected Member Functions | List of all members
fmt::internal::FixedBuffer< Char > Class Template Reference

#include <format.h>

Inheritance diagram for fmt::internal::FixedBuffer< Char >:
Inheritance graph
[legend]
Collaboration diagram for fmt::internal::FixedBuffer< Char >:
Collaboration graph
[legend]

Public Member Functions

 FixedBuffer (Char *array, std::size_t size)
 
- Public Member Functions inherited from fmt::Buffer< Char >
virtual ~Buffer ()
 
std::size_t size () const
 
std::size_t capacity () const
 
void resize (std::size_t new_size)
 
void reserve (std::size_t capacity)
 
void clear () FMT_NOEXCEPT
 
void push_back (const Char &value)
 
void append (const U *begin, const U *end)
 
Char & operator[] (std::size_t index)
 
const Char & operator[] (std::size_t index) const
 

Protected Member Functions

FMT_API void grow (std::size_t size)
 
- Protected Member Functions inherited from fmt::Buffer< Char >
 Buffer (Char *ptr=0, std::size_t capacity=0)
 

Additional Inherited Members

- Protected Attributes inherited from fmt::Buffer< Char >
Char * ptr_
 
std::size_t size_
 
std::size_t capacity_
 

Detailed Description

template<typename Char>
class fmt::internal::FixedBuffer< Char >

Definition at line 744 of file format.h.

Constructor & Destructor Documentation

◆ FixedBuffer()

template<typename Char >
fmt::internal::FixedBuffer< Char >::FixedBuffer ( Char *  array,
std::size_t  size 
)
inline

Definition at line 746 of file format.h.

Member Function Documentation

◆ grow()

template<typename Char >
template void fmt::internal::FixedBuffer< Char >::grow ( std::size_t  size)
protectedvirtual

\rst Increases the buffer capacity to hold at least size elements updating ptr_ and capacity_. \endrst

Implements fmt::Buffer< Char >.

Definition at line 455 of file format.cc.


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