A library for working with phylogenetic data.
v0.25.0
LambdaIteratorGenerator< T >::LambdaIterator Class Reference

#include <genesis/utils/containers/lambda_iterator.hpp>

Detailed Description

template<class T>
class genesis::utils::LambdaIteratorGenerator< T >::LambdaIterator

Definition at line 106 of file lambda_iterator.hpp.

Public Member Functions

 LambdaIterator (LambdaIteratorGenerator *generator, std::shared_ptr< T > current_element)
 
 LambdaIterator (self_type &&)=default
 
 LambdaIterator (self_type const &)=default
 
 ~LambdaIterator ()=default
 
bool operator!= (self_type const &it) const
 
T const & operator* () const
 
self_typeoperator++ ()
 
self_typeoperator++ (int)
 
LambdaIteratoroperator= (self_type &&)=default
 
LambdaIteratoroperator= (self_type const &)=default
 
bool operator== (self_type const &it) const
 

Public Types

using self_type = LambdaIteratorGenerator< T >::LambdaIterator
 

Constructor & Destructor Documentation

◆ LambdaIterator() [1/3]

LambdaIterator ( LambdaIteratorGenerator generator,
std::shared_ptr< T >  current_element 
)
inline

Definition at line 118 of file lambda_iterator.hpp.

◆ ~LambdaIterator()

~LambdaIterator ( )
default

◆ LambdaIterator() [2/3]

LambdaIterator ( self_type const &  )
default

◆ LambdaIterator() [3/3]

LambdaIterator ( self_type &&  )
default

Member Function Documentation

◆ operator!=()

bool operator!= ( self_type const &  it) const
inline

Definition at line 172 of file lambda_iterator.hpp.

◆ operator*()

T const& operator* ( ) const
inline

Definition at line 140 of file lambda_iterator.hpp.

◆ operator++() [1/2]

self_type& operator++ ( )
inline

Definition at line 154 of file lambda_iterator.hpp.

◆ operator++() [2/2]

self_type& operator++ ( int  )
inline

Definition at line 160 of file lambda_iterator.hpp.

◆ operator=() [1/2]

LambdaIterator& operator= ( self_type &&  )
default

◆ operator=() [2/2]

LambdaIterator& operator= ( self_type const &  )
default

◆ operator==()

bool operator== ( self_type const &  it) const
inline

Definition at line 167 of file lambda_iterator.hpp.

Member Typedef Documentation

◆ self_type

Definition at line 114 of file lambda_iterator.hpp.


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