vsdk 11.0.1
Loading...
Searching...
No Matches
Vsdk::Utils::Iterator< C >

#include <Iterator.hpp>

Public Member Functions

 Iterator (IteratorType it) noexcept
 operator IteratorType () const
auto operator* () -> typename C::value_type
auto operator* () const -> typename C::value_type
auto operator-> () -> typename C::value_type *
auto operator-> () const -> typename C::value_type *
template<class T>
auto get () const -> std::shared_ptr< T >
 Gets a dynamically casted shared pointer to the underlying pointed object.

Constructor & Destructor Documentation

◆ Iterator()

template<class C>
Vsdk::Utils::Iterator< C >::Iterator ( IteratorType it)
noexcept

Member Function Documentation

◆ operator IteratorType()

template<class C>
Vsdk::Utils::Iterator< C >::operator IteratorType ( ) const

◆ operator*() [1/2]

template<class C>
auto Vsdk::Utils::Iterator< C >::operator* ( ) -> typename C::value_type

◆ operator*() [2/2]

template<class C>
auto Vsdk::Utils::Iterator< C >::operator* ( ) const -> typename C::value_type

◆ operator->() [1/2]

template<class C>
auto Vsdk::Utils::Iterator< C >::operator-> ( ) -> typename C::value_type *

◆ operator->() [2/2]

template<class C>
auto Vsdk::Utils::Iterator< C >::operator-> ( ) const -> typename C::value_type *

◆ get()

template<class C>
template<class T>
auto Vsdk::Utils::Iterator< C >::get ( ) const -> std::shared_ptr<T>

Gets a dynamically casted shared pointer to the underlying pointed object.