ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::ForwardIteratorBase< T > Struct Template Referenceabstract

Abstract struct to implement to enable the use of the ForwardIterator<T> More...

#include <custom_iterators.hpp>

Inheritance diagram for ocpp::ForwardIteratorBase< T >:
ocpp::VectorOfUniquePtrIterator< T >

Public Member Functions

virtual T & deref () const =0
 Get a reference to the value pointed to by the iterator. More...
 
virtual void advance ()=0
 Increment the iterator once to the next position. More...
 
virtual bool not_equal (const ForwardIteratorBase &other)=0
 Check for equality between this iterator and other. More...
 

Detailed Description

template<typename T>
struct ocpp::ForwardIteratorBase< T >

Abstract struct to implement to enable the use of the ForwardIterator<T>

Member Function Documentation

◆ advance()

template<typename T >
virtual void ocpp::ForwardIteratorBase< T >::advance ( )
pure virtual

Increment the iterator once to the next position.

Implemented in ocpp::VectorOfUniquePtrIterator< T >.

◆ deref()

template<typename T >
virtual T & ocpp::ForwardIteratorBase< T >::deref ( ) const
pure virtual

Get a reference to the value pointed to by the iterator.

Implemented in ocpp::VectorOfUniquePtrIterator< T >.

◆ not_equal()

template<typename T >
virtual bool ocpp::ForwardIteratorBase< T >::not_equal ( const ForwardIteratorBase< T > &  other)
pure virtual

Check for equality between this iterator and other.

Implemented in ocpp::VectorOfUniquePtrIterator< T >.


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