HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detail::iterator_buffer< T *, T > Class Template Referencefinal

#include <core.h>

+ Inheritance diagram for detail::iterator_buffer< T *, T >:

Public Member Functions

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

Protected Member Functions

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
 
 ~buffer ()=default
 
void set (T *buf_data, size_t buf_capacity) FMT_NOEXCEPT
 

Additional Inherited Members

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

Detailed Description

template<typename T>
class detail::iterator_buffer< T *, T >

Definition at line 798 of file core.h.

Constructor & Destructor Documentation

template<typename T >
detail::iterator_buffer< T *, T >::iterator_buffer ( T *  out,
size_t  = 0 
)
inlineexplicit

Definition at line 803 of file core.h.

Member Function Documentation

template<typename T >
void detail::iterator_buffer< T *, T >::grow ( size_t  capacity)
inlinefinalprotectedvirtual

Increases the buffer capacity to hold at least capacity elements.

Implements detail::buffer< T >.

Definition at line 800 of file core.h.

template<typename T >
T* detail::iterator_buffer< T *, T >::out ( )
inline

Definition at line 805 of file core.h.


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