WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::Iterator< ValueType > Class Template Reference

#include <Iterator.h>

Inheritance diagram for WireCell::Iterator< ValueType >:
Collaboration diagram for WireCell::Iterator< ValueType >:

Public Types

typedef WireCell::IteratorBase< ValueType > BaseIteratorType
 

Public Member Functions

 Iterator ()
 
 Iterator (const Iterator &other)
 
 Iterator (const BaseIteratorType &base_other)
 
 ~Iterator ()
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
Iteratoroperator++ ()
 
ValueType operator* () const
 
Iteratoroperator= (const Iterator &rhs)
 

Detailed Description

template<typename ValueType>
class WireCell::Iterator< ValueType >

This iterator provides a facade over a WireCell::IteratorBase<ValueType>.

This facade can be passed by value without slicing the abstract base iterator.

Definition at line 16 of file Iterator.h.

Member Typedef Documentation

◆ BaseIteratorType

template<typename ValueType >
typedef WireCell::IteratorBase<ValueType> WireCell::Iterator< ValueType >::BaseIteratorType

Definition at line 18 of file Iterator.h.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<typename ValueType >
WireCell::Iterator< ValueType >::Iterator ( )
inline

Definition at line 21 of file Iterator.h.

◆ Iterator() [2/3]

template<typename ValueType >
WireCell::Iterator< ValueType >::Iterator ( const Iterator< ValueType > &  other)
inline

Definition at line 24 of file Iterator.h.

Here is the call graph for this function:

◆ Iterator() [3/3]

template<typename ValueType >
WireCell::Iterator< ValueType >::Iterator ( const BaseIteratorType base_other)
inline

Definition at line 29 of file Iterator.h.

Here is the call graph for this function:

◆ ~Iterator()

template<typename ValueType >
WireCell::Iterator< ValueType >::~Iterator ( )
inline

Definition at line 32 of file Iterator.h.

Member Function Documentation

◆ operator!=()

template<typename ValueType >
bool WireCell::Iterator< ValueType >::operator!= ( const Iterator< ValueType > &  rhs) const
inline

Definition at line 44 of file Iterator.h.

◆ operator*()

template<typename ValueType >
ValueType WireCell::Iterator< ValueType >::operator* ( ) const
inline

Definition at line 56 of file Iterator.h.

◆ operator++()

template<typename ValueType >
Iterator& WireCell::Iterator< ValueType >::operator++ ( )
inline

Definition at line 51 of file Iterator.h.

◆ operator=()

template<typename ValueType >
Iterator& WireCell::Iterator< ValueType >::operator= ( const Iterator< ValueType > &  rhs)
inline

Definition at line 60 of file Iterator.h.

Here is the call graph for this function:

◆ operator==()

template<typename ValueType >
bool WireCell::Iterator< ValueType >::operator== ( const Iterator< ValueType > &  rhs) const
inline

Definition at line 39 of file Iterator.h.


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