Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
fmt::internal::MemoryBuffer< T, SIZE, Allocator > Class Template Reference

#include <format.h>

Inheritance diagram for fmt::internal::MemoryBuffer< T, SIZE, Allocator >:
Inheritance graph
[legend]

Public Member Functions

Allocator get_allocator () const
 
 MemoryBuffer (const Allocator &alloc=Allocator())
 
 ~MemoryBuffer ()
 
- Public Member Functions inherited from fmt::Buffer< T >
template<typename U >
void append (const U *begin, const U *end)
 
std::size_t capacity () const
 
void clear () FMT_NOEXCEPT
 
T & operator[] (std::size_t index)
 
const T & operator[] (std::size_t index) const
 
void push_back (const T &value)
 
void reserve (std::size_t capacity)
 
void resize (std::size_t new_size)
 
std::size_t size () const
 
virtual ~Buffer ()
 

Protected Member Functions

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

Private Member Functions

void deallocate ()
 

Private Attributes

data_ [SIZE]
 

Additional Inherited Members

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

Detailed Description

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
class fmt::internal::MemoryBuffer< T, SIZE, Allocator >

Definition at line 765 of file format.h.

Constructor & Destructor Documentation

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
fmt::internal::MemoryBuffer< T, SIZE, Allocator >::MemoryBuffer ( const Allocator &  alloc = Allocator())
inlineexplicit

Definition at line 780 of file format.h.

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
fmt::internal::MemoryBuffer< T, SIZE, Allocator >::~MemoryBuffer ( )
inline

Definition at line 782 of file format.h.

Member Function Documentation

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
void fmt::internal::MemoryBuffer< T, SIZE, Allocator >::deallocate ( )
inlineprivate

Definition at line 771 of file format.h.

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
Allocator fmt::internal::MemoryBuffer< T, SIZE, Allocator >::get_allocator ( ) const
inline

Definition at line 827 of file format.h.

template<typename T , std::size_t SIZE, typename Allocator >
void fmt::internal::MemoryBuffer< T, SIZE, Allocator >::grow ( std::size_t  size)
protectedvirtual

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

Implements fmt::Buffer< T >.

Definition at line 834 of file format.h.

Member Data Documentation

template<typename T, std::size_t SIZE, typename Allocator = std::allocator<T>>
T fmt::internal::MemoryBuffer< T, SIZE, Allocator >::data_[SIZE]
private

Definition at line 768 of file format.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:09