Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
graphle::util::vec_of_vecs_output_iterator< VV, PV > Class Template Reference

#include <vec_of_vecs_output_iterator.hpp>

Public Types

using value_type = typename std::back_insert_iterator< VV >
 
using reference = value_type &
 
using pointer = value_type *
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::output_iterator_tag
 

Public Member Functions

 vec_of_vecs_output_iterator (VV &target, PV &provider)
 
value_type operator* (void) const
 
vec_of_vecs_output_iterator & operator++ (void)
 
vec_of_vecs_output_iterator operator++ (int)
 

Detailed Description

template<typename VV, store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
class graphle::util::vec_of_vecs_output_iterator< VV, PV >

@ingruop Utils An output iterator for writing to a vector-like (back-insertable) type of vector-like (back-insertable) values.

Definition at line 19 of file vec_of_vecs_output_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
using graphle::util::vec_of_vecs_output_iterator< VV, PV >::difference_type = std::ptrdiff_t

Definition at line 24 of file vec_of_vecs_output_iterator.hpp.

◆ iterator_category

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
using graphle::util::vec_of_vecs_output_iterator< VV, PV >::iterator_category = std::output_iterator_tag

Definition at line 25 of file vec_of_vecs_output_iterator.hpp.

◆ pointer

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
using graphle::util::vec_of_vecs_output_iterator< VV, PV >::pointer = value_type*

Definition at line 23 of file vec_of_vecs_output_iterator.hpp.

◆ reference

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
using graphle::util::vec_of_vecs_output_iterator< VV, PV >::reference = value_type&

Definition at line 22 of file vec_of_vecs_output_iterator.hpp.

◆ value_type

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
using graphle::util::vec_of_vecs_output_iterator< VV, PV >::value_type = typename std::back_insert_iterator<VV>

Definition at line 21 of file vec_of_vecs_output_iterator.hpp.

Constructor & Destructor Documentation

◆ vec_of_vecs_output_iterator()

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
graphle::util::vec_of_vecs_output_iterator< VV, PV >::vec_of_vecs_output_iterator ( VV &  target,
PV &  provider 
)
inlineexplicit

Definition at line 28 of file vec_of_vecs_output_iterator.hpp.

Member Function Documentation

◆ operator*()

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
value_type graphle::util::vec_of_vecs_output_iterator< VV, PV >::operator* ( void  ) const
inline

Definition at line 34 of file vec_of_vecs_output_iterator.hpp.

◆ operator++() [1/2]

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
vec_of_vecs_output_iterator graphle::util::vec_of_vecs_output_iterator< VV, PV >::operator++ ( int  )
inline

Definition at line 45 of file vec_of_vecs_output_iterator.hpp.

◆ operator++() [2/2]

template<typename VV , store::storage_provider_ref< store::storage_type::VECTOR, typename VV::value_type > PV>
vec_of_vecs_output_iterator & graphle::util::vec_of_vecs_output_iterator< VV, PV >::operator++ ( void  )
inline

Definition at line 39 of file vec_of_vecs_output_iterator.hpp.


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