DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Diades::Utils::SharedPointerConstIterator< T, Container > Class Template Reference

#include <Iterator.hh>

Public Types

typedef const T & reference
 
typedef Ptr< T >::ConstP pointer
 
using Exception = Diades::Utils::Exception< SharedPointerConstIterator >
 
using Iterator = typename Container< std::shared_ptr< T > >::const_iterator
 

Public Member Functions

 SharedPointerConstIterator ()
 
 SharedPointerConstIterator (Iterator it)
 
pointer operator-> () const
 
reference operator* () const
 

Static Public Member Functions

static string typeName ()
 

Detailed Description

template<typename T, template< typename ... > class Container>
class Diades::Utils::SharedPointerConstIterator< T, Container >

Definition at line 173 of file Iterator.hh.

Member Typedef Documentation

◆ Exception

template<typename T , template< typename ... > class Container>
using Diades::Utils::SharedPointerConstIterator< T, Container >::Exception = Diades::Utils::Exception<SharedPointerConstIterator>

Definition at line 183 of file Iterator.hh.

◆ Iterator

template<typename T , template< typename ... > class Container>
using Diades::Utils::SharedPointerConstIterator< T, Container >::Iterator = typename Container<std::shared_ptr < T> >::const_iterator

Definition at line 186 of file Iterator.hh.

◆ pointer

template<typename T , template< typename ... > class Container>
typedef Ptr<T>::ConstP Diades::Utils::SharedPointerConstIterator< T, Container >::pointer

Definition at line 177 of file Iterator.hh.

◆ reference

template<typename T , template< typename ... > class Container>
typedef const T& Diades::Utils::SharedPointerConstIterator< T, Container >::reference

Definition at line 176 of file Iterator.hh.

Constructor & Destructor Documentation

◆ SharedPointerConstIterator() [1/2]

template<typename T , template< typename ... > class Container>
Diades::Utils::SharedPointerConstIterator< T, Container >::SharedPointerConstIterator ( )
inline

Default constructor

Definition at line 191 of file Iterator.hh.

◆ SharedPointerConstIterator() [2/2]

template<typename T , template< typename ... > class Container>
Diades::Utils::SharedPointerConstIterator< T, Container >::SharedPointerConstIterator ( Iterator  it)
inline

Parametrized constructor

Definition at line 198 of file Iterator.hh.

Member Function Documentation

◆ operator*()

template<typename T , template< typename ... > class Container>
reference Diades::Utils::SharedPointerConstIterator< T, Container >::operator* ( ) const
inline
Returns
a non-const reference to the element refered

Definition at line 217 of file Iterator.hh.

References always_require.

◆ operator->()

template<typename T , template< typename ... > class Container>
pointer Diades::Utils::SharedPointerConstIterator< T, Container >::operator-> ( ) const
inline
Returns
a pointer to the current Key

Definition at line 206 of file Iterator.hh.

References always_require.

◆ typeName()

template<typename T , template< typename ... > class Container>
static string Diades::Utils::SharedPointerConstIterator< T, Container >::typeName ( )
inlinestatic

Definition at line 179 of file Iterator.hh.


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