Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
detail::iterator_buffer< OutputIt, T, Traits > Class Template Referencefinal

#include <core.h>

Inheritance diagram for detail::iterator_buffer< OutputIt, T, Traits >:
Inheritance graph
[legend]

Public Member Functions

size_t count () const
 
 iterator_buffer (OutputIt out, size_t n=buffer_size)
 
OutputIt out ()
 
 ~iterator_buffer ()
 
- Public Member Functions inherited from detail::buffer< T >
template<typename U >
void append (const U *begin, const U *end)
 
T * begin () FMT_NOEXCEPT
 
const T * begin () const FMT_NOEXCEPT
 
 buffer (const buffer &)=delete
 
size_t capacity () const FMT_NOEXCEPT
 
void clear ()
 
T * data () FMT_NOEXCEPT
 
const T * data () const FMT_NOEXCEPT
 
T * end () FMT_NOEXCEPT
 
const T * end () const FMT_NOEXCEPT
 
void operator= (const buffer &)=delete
 
template<typename I >
T & operator[] (I index)
 
template<typename I >
const T & operator[] (I index) const
 
void push_back (const T &value)
 
size_t size () const FMT_NOEXCEPT
 
void try_reserve (size_t new_capacity)
 
void try_resize (size_t count)
 

Protected Member Functions

void flush ()
 
void grow (size_t) final FMT_OVERRIDE
 
- Protected Member Functions inherited from detail::buffer< T >
 buffer (size_t sz) FMT_NOEXCEPT
 
 buffer (T *p=nullptr, size_t sz=0, size_t cap=0) FMT_NOEXCEPT
 
void set (T *buf_data, size_t buf_capacity) FMT_NOEXCEPT
 
 ~buffer ()=default
 

Private Types

enum  { buffer_size = 256 }
 

Private Attributes

data_ [buffer_size]
 
OutputIt out_
 

Additional Inherited Members

- Public Types inherited from detail::buffer< T >
using const_reference = const T &
 
using value_type = T
 

Detailed Description

template<typename OutputIt, typename T, typename Traits = buffer_traits>
class detail::iterator_buffer< OutputIt, T, Traits >

Definition at line 764 of file core.h.

Member Enumeration Documentation

template<typename OutputIt, typename T, typename Traits = buffer_traits>
anonymous enum
private
Enumerator
buffer_size 

Definition at line 767 of file core.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename T, typename Traits = buffer_traits>
detail::iterator_buffer< OutputIt, T, Traits >::iterator_buffer ( OutputIt  out,
size_t  n = buffer_size 
)
inlineexplicit

Definition at line 777 of file core.h.

template<typename OutputIt, typename T, typename Traits = buffer_traits>
detail::iterator_buffer< OutputIt, T, Traits >::~iterator_buffer ( )
inline

Definition at line 781 of file core.h.

Member Function Documentation

template<typename OutputIt, typename T, typename Traits = buffer_traits>
size_t detail::iterator_buffer< OutputIt, T, Traits >::count ( ) const
inline

Definition at line 787 of file core.h.

template<typename OutputIt , typename T , typename Traits >
void detail::iterator_buffer< OutputIt, T, Traits >::flush ( )
protected

Definition at line 613 of file format.h.

template<typename OutputIt, typename T, typename Traits = buffer_traits>
void detail::iterator_buffer< OutputIt, T, Traits >::grow ( size_t  capacity)
inlinefinalprotectedvirtual

Increases the buffer capacity to hold at least capacity elements.

Implements detail::buffer< T >.

Definition at line 771 of file core.h.

template<typename OutputIt, typename T, typename Traits = buffer_traits>
OutputIt detail::iterator_buffer< OutputIt, T, Traits >::out ( )
inline

Definition at line 783 of file core.h.

Member Data Documentation

template<typename OutputIt, typename T, typename Traits = buffer_traits>
T detail::iterator_buffer< OutputIt, T, Traits >::data_[buffer_size]
private

Definition at line 768 of file core.h.

template<typename OutputIt, typename T, typename Traits = buffer_traits>
OutputIt detail::iterator_buffer< OutputIt, T, Traits >::out_
private

Definition at line 766 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51