API Documentation
Loading...
Searching...
No Matches
BufferInsertIterator< t_type, t_buffer > Class Template Reference

#include <BufferFunctions.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = t_type
 
using difference_type = ptrdiff_t
 
using pointer = t_type*
 
using reference = t_type&
 

Public Member Functions

 BufferInsertIterator (t_buffer &container, int i)
 
BufferInsertIterator< t_type, t_buffer > & operator= (const t_type &value)
 
BufferInsertIterator< t_type, t_buffer > & operator= (t_type &&value)
 
BufferInsertIterator< t_type, t_buffer > & operator++ ()
 
BufferInsertIterator< t_type, t_buffer > & operator++ (int val)
 
BufferInsertIterator< t_type, t_buffer > & operator* ()
 
const BufferInsertIterator< t_type, t_buffer > & operator* () const
 

Protected Attributes

t_buffer * m_container
 
uint04 m_location
 

Member Typedef Documentation

◆ difference_type

template<class t_type , class t_buffer >
using difference_type = ptrdiff_t

◆ iterator_category

template<class t_type , class t_buffer >
using iterator_category = std::random_access_iterator_tag

◆ pointer

template<class t_type , class t_buffer >
using pointer = t_type*

◆ reference

template<class t_type , class t_buffer >
using reference = t_type&

◆ value_type

template<class t_type , class t_buffer >
using value_type = t_type

Constructor & Destructor Documentation

◆ BufferInsertIterator()

template<class t_type , class t_buffer >
BufferInsertIterator ( t_buffer & container,
int i )
inlineexplicit

Member Function Documentation

◆ operator*() [1/2]

template<class t_type , class t_buffer >
BufferInsertIterator< t_type, t_buffer > & operator* ( )
inline

◆ operator*() [2/2]

template<class t_type , class t_buffer >
const BufferInsertIterator< t_type, t_buffer > & operator* ( ) const
inline

◆ operator++() [1/2]

template<class t_type , class t_buffer >
BufferInsertIterator< t_type, t_buffer > & operator++ ( )
inline

◆ operator++() [2/2]

template<class t_type , class t_buffer >
BufferInsertIterator< t_type, t_buffer > & operator++ ( int val)
inline

◆ operator=() [1/2]

template<class t_type , class t_buffer >
BufferInsertIterator< t_type, t_buffer > & operator= ( const t_type & value)
inline

◆ operator=() [2/2]

template<class t_type , class t_buffer >
BufferInsertIterator< t_type, t_buffer > & operator= ( t_type && value)
inline

Member Data Documentation

◆ m_container

template<class t_type , class t_buffer >
t_buffer* m_container
protected

◆ m_location

template<class t_type , class t_buffer >
uint04 m_location
protected

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