Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::end_insert_iterator< Container > Class Template Reference

#include <types.hpp>

Public Types

using iterator_category = std::output_iterator_tag
 
using value_type = void
 
using difference_type = void
 
using pointer = void
 
using reference = void
 
using container_type = Container
 

Public Member Functions

 end_insert_iterator (Container &c)
 
end_insert_iteratoroperator= (typename Container::const_reference value)
 
end_insert_iteratoroperator* ()
 
end_insert_iteratoroperator++ ()
 
end_insert_iterator operator++ (int)
 

Protected Attributes

Container * container
 

Detailed Description

template<typename Container>
class sysio::chain::end_insert_iterator< Container >

Definition at line 274 of file types.hpp.

Member Typedef Documentation

◆ container_type

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::container_type = Container

Definition at line 286 of file types.hpp.

◆ difference_type

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::difference_type = void

Definition at line 282 of file types.hpp.

◆ iterator_category

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::iterator_category = std::output_iterator_tag

Definition at line 280 of file types.hpp.

◆ pointer

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::pointer = void

Definition at line 283 of file types.hpp.

◆ reference

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::reference = void

Definition at line 284 of file types.hpp.

◆ value_type

template<typename Container >
using sysio::chain::end_insert_iterator< Container >::value_type = void

Definition at line 281 of file types.hpp.

Constructor & Destructor Documentation

◆ end_insert_iterator()

template<typename Container >
sysio::chain::end_insert_iterator< Container >::end_insert_iterator ( Container & c)
inlineexplicit

Definition at line 288 of file types.hpp.

289 :container(&c)
290 {}

Member Function Documentation

◆ operator*()

template<typename Container >
end_insert_iterator & sysio::chain::end_insert_iterator< Container >::operator* ( )
inline

Definition at line 297 of file types.hpp.

297{ return *this; }

◆ operator++() [1/2]

template<typename Container >
end_insert_iterator & sysio::chain::end_insert_iterator< Container >::operator++ ( )
inline

Definition at line 298 of file types.hpp.

298{ return *this; }

◆ operator++() [2/2]

template<typename Container >
end_insert_iterator sysio::chain::end_insert_iterator< Container >::operator++ ( int )
inline

Definition at line 299 of file types.hpp.

299{ return *this; }

◆ operator=()

template<typename Container >
end_insert_iterator & sysio::chain::end_insert_iterator< Container >::operator= ( typename Container::const_reference value)
inline

Definition at line 292 of file types.hpp.

292 {
293 container->insert( container->cend(), value );
294 return *this;
295 }
#define value
Definition pkcs11.h:157

Member Data Documentation

◆ container

template<typename Container >
Container* sysio::chain::end_insert_iterator< Container >::container
protected

Definition at line 277 of file types.hpp.


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