CARLA
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
carla::road::element::RoadInfoIterator< T, IT > Class Template Reference

#include <RoadInfoIterator.h>

+ Inheritance diagram for carla::road::element::RoadInfoIterator< T, IT >:
+ Collaboration diagram for carla::road::element::RoadInfoIterator< T, IT >:

Public Types

using difference_type = typename IT::difference_type
 
using pointer = T *
 
using reference = T &
 
using value_type = T
 

Public Member Functions

bool IsAtEnd () const
 
bool operator!= (const RoadInfoIterator &rhs) const
 
reference operator* () const
 
RoadInfoIteratoroperator++ ()
 
pointer operator-> () const
 
bool operator== (const RoadInfoIterator &rhs) const
 
 RoadInfoIterator (IT begin, IT end)
 

Private Member Functions

void Visit (T &)
 
- Private Member Functions inherited from carla::road::element::RoadInfoVisitor
RoadInfoVisitoroperator= (const RoadInfoVisitor &)=default
 
RoadInfoVisitoroperator= (RoadInfoVisitor &&)=default
 
 RoadInfoVisitor ()=default
 
 RoadInfoVisitor (const RoadInfoVisitor &)=default
 
 RoadInfoVisitor (RoadInfoVisitor &&)=default
 
virtual void Visit (RoadInfoElevation &)
 
virtual void Visit (RoadInfoGeometry &)
 
virtual void Visit (RoadInfoLane &)
 
virtual void Visit (RoadInfoLaneAccess &)
 
virtual void Visit (RoadInfoLaneBorder &)
 
virtual void Visit (RoadInfoLaneHeight &)
 
virtual void Visit (RoadInfoLaneMaterial &)
 
virtual void Visit (RoadInfoLaneOffset &)
 
virtual void Visit (RoadInfoLaneRule &)
 
virtual void Visit (RoadInfoLaneVisibility &)
 
virtual void Visit (RoadInfoLaneWidth &)
 
virtual void Visit (RoadInfoMarkRecord &)
 
virtual void Visit (RoadInfoMarkTypeLine &)
 
virtual void Visit (RoadInfoSpeed &)
 
virtual void Visit (RoadInfoCrosswalk &)
 
virtual void Visit (RoadInfoSignal &)
 
virtual ~RoadInfoVisitor ()=default
 

Private Attributes

IT _end
 
IT _it
 
bool _success
 

Detailed Description

template<typename T, typename IT>
class carla::road::element::RoadInfoIterator< T, IT >

Definition at line 20 of file RoadInfoIterator.h.

Member Typedef Documentation

◆ difference_type

template<typename T, typename IT>
using carla::road::element::RoadInfoIterator< T, IT >::difference_type = typename IT::difference_type

Definition at line 26 of file RoadInfoIterator.h.

◆ pointer

template<typename T, typename IT>
using carla::road::element::RoadInfoIterator< T, IT >::pointer = T *

Definition at line 27 of file RoadInfoIterator.h.

◆ reference

template<typename T, typename IT>
using carla::road::element::RoadInfoIterator< T, IT >::reference = T &

Definition at line 28 of file RoadInfoIterator.h.

◆ value_type

template<typename T, typename IT>
using carla::road::element::RoadInfoIterator< T, IT >::value_type = T

Definition at line 25 of file RoadInfoIterator.h.

Constructor & Destructor Documentation

◆ RoadInfoIterator()

template<typename T, typename IT>
carla::road::element::RoadInfoIterator< T, IT >::RoadInfoIterator ( IT  begin,
IT  end 
)
inline

Definition at line 30 of file RoadInfoIterator.h.

References carla::road::element::RoadInfoIterator< T, IT >::_it, carla::road::element::RoadInfoIterator< T, IT >::_success, DEBUG_ASSERT, and carla::road::element::RoadInfoIterator< T, IT >::IsAtEnd().

+ Here is the call graph for this function:

Member Function Documentation

◆ IsAtEnd()

template<typename T, typename IT>
bool carla::road::element::RoadInfoIterator< T, IT >::IsAtEnd ( ) const
inline

Definition at line 74 of file RoadInfoIterator.h.

References carla::road::element::RoadInfoIterator< T, IT >::_end, and carla::road::element::RoadInfoIterator< T, IT >::_it.

Referenced by carla::road::element::RoadInfoIterator< T, IT >::operator++(), and carla::road::element::RoadInfoIterator< T, IT >::RoadInfoIterator().

+ Here is the caller graph for this function:

◆ operator!=()

template<typename T, typename IT>
bool carla::road::element::RoadInfoIterator< T, IT >::operator!= ( const RoadInfoIterator< T, IT > &  rhs) const
inline

◆ operator*()

template<typename T, typename IT>
reference carla::road::element::RoadInfoIterator< T, IT >::operator* ( ) const
inline

◆ operator++()

template<typename T, typename IT>
RoadInfoIterator& carla::road::element::RoadInfoIterator< T, IT >::operator++ ( )
inline

Definition at line 43 of file RoadInfoIterator.h.

References carla::road::element::RoadInfoIterator< T, IT >::_it, carla::road::element::RoadInfoIterator< T, IT >::_success, DEBUG_ASSERT, and carla::road::element::RoadInfoIterator< T, IT >::IsAtEnd().

+ Here is the call graph for this function:

◆ operator->()

template<typename T, typename IT>
pointer carla::road::element::RoadInfoIterator< T, IT >::operator-> ( ) const
inline

◆ operator==()

template<typename T, typename IT>
bool carla::road::element::RoadInfoIterator< T, IT >::operator== ( const RoadInfoIterator< T, IT > &  rhs) const
inline

Definition at line 70 of file RoadInfoIterator.h.

◆ Visit()

template<typename T, typename IT>
void carla::road::element::RoadInfoIterator< T, IT >::Visit ( T &  )
inlineprivate

Member Data Documentation

◆ _end

template<typename T, typename IT>
IT carla::road::element::RoadInfoIterator< T, IT >::_end
private

◆ _it

template<typename T, typename IT>
IT carla::road::element::RoadInfoIterator< T, IT >::_it
private

◆ _success

template<typename T, typename IT>
bool carla::road::element::RoadInfoIterator< T, IT >::_success
private

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