PMEMKV  1.5.0-git3.g5c9f963
This is the C++ documentation for PMEMKV.
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
pmem::kv::db::iterator< IsConst >::OutputIterator< T > Class Template Reference

OutputIterator provides iteration through elements without a possibility of reading them. It is only allowed to modify them. More...

#include <libpmemkv.hpp>

Classes

struct  assign_only
 

Public Types

using reference = assign_only &
 
using pointer = void
 
using difference_type = std::ptrdiff_t
 
using value_type = void
 
using iterator_category = std::output_iterator_tag
 

Public Member Functions

 OutputIterator (T *x)
 
reference operator* ()
 
OutputIteratoroperator++ ()
 
OutputIterator operator++ (int)
 
OutputIteratoroperator-- ()
 
OutputIterator operator-- (int)
 
assign_only operator[] (difference_type pos)
 
difference_type operator- (const OutputIterator &other) const
 
bool operator!= (const OutputIterator &other) const
 

Private Attributes

assign_only ao
 

Detailed Description

template<bool IsConst>
template<typename T>
class pmem::kv::db::iterator< IsConst >::OutputIterator< T >

OutputIterator provides iteration through elements without a possibility of reading them. It is only allowed to modify them.

Member Typedef Documentation

◆ difference_type

template<bool IsConst>
template<typename T >
using pmem::kv::db::iterator< IsConst >::OutputIterator< T >::difference_type = std::ptrdiff_t

◆ iterator_category

template<bool IsConst>
template<typename T >
using pmem::kv::db::iterator< IsConst >::OutputIterator< T >::iterator_category = std::output_iterator_tag

◆ pointer

template<bool IsConst>
template<typename T >
using pmem::kv::db::iterator< IsConst >::OutputIterator< T >::pointer = void

◆ reference

template<bool IsConst>
template<typename T >
using pmem::kv::db::iterator< IsConst >::OutputIterator< T >::reference = assign_only &

◆ value_type

template<bool IsConst>
template<typename T >
using pmem::kv::db::iterator< IsConst >::OutputIterator< T >::value_type = void

Constructor & Destructor Documentation

◆ OutputIterator()

template<bool IsConst>
template<typename T >
pmem::kv::db::iterator< IsConst >::OutputIterator< T >::OutputIterator ( T *  x)

Member Function Documentation

◆ operator!=()

template<bool IsConst>
template<typename T >
bool pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator!= ( const OutputIterator< T > &  other) const

◆ operator*()

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T >::reference pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator* ( )

◆ operator++() [1/2]

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T > & pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator++ ( )

◆ operator++() [2/2]

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T > pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator++ ( int  )

◆ operator-()

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T >::difference_type pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator- ( const OutputIterator< T > &  other) const

◆ operator--() [1/2]

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T > & pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator-- ( )

◆ operator--() [2/2]

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T > pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator-- ( int  )

◆ operator[]()

template<bool IsConst>
template<typename T >
db::iterator< IsConst >::template OutputIterator< T >::assign_only pmem::kv::db::iterator< IsConst >::OutputIterator< T >::operator[] ( difference_type  pos)

Member Data Documentation

◆ ao

template<bool IsConst>
template<typename T >
assign_only pmem::kv::db::iterator< IsConst >::OutputIterator< T >::ao
private

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