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

Used by stl library to insert objects into the buffer. More...

#include <BufferFunctions.h>

Public Types

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

Public Member Functions

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

Protected Attributes

t_buffer * m_container
 
uint04 m_location
 

Detailed Description

template<class t_type, class t_buffer>
class NDEVR::BufferInsertIterator< t_type, t_buffer >

Used by stl library to insert objects into the buffer.


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: