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

#include <ISequence.h>

Inheritance diagram for WireCell::SequenceAdapter< IDataClass >:
Collaboration diagram for WireCell::SequenceAdapter< IDataClass >:

Public Types

typedef ISequence< IDataClass >::iterator iterator
 
- Public Types inherited from WireCell::ISequence< IDataClass >
typedef ISequence< IDataClass > this_type
 
typedef std::shared_ptr< this_typepointer
 Access this sequence via shared (non-const) pointer. More...
 
typedef IDataClass::iterator iterator
 
typedef IDataClass::const_iterator const_iterator
 
typedef IDataClass::base_iterator base_iterator
 
typedef IDataClass::iterator_range iterator_range
 

Public Member Functions

template<typename OtherIter >
 SequenceAdapter (const OtherIter &begin, const OtherIter &end)
 
virtual iterator begin ()
 
virtual iterator end ()
 
virtual ~SequenceAdapter ()
 
- Public Member Functions inherited from WireCell::ISequence< IDataClass >
virtual const_iterator cbegin () const =0
 Concrete class must implement: More...
 
virtual const_iterator cend () const =0
 
virtual const_iterator begin () const
 
virtual const_iterator end () const
 
virtual iterator_range range ()
 Return begin/end pair as iterator range. More...
 
virtual ~ISequence ()
 

Additional Inherited Members

- Static Public Member Functions inherited from WireCell::ISequence< IDataClass >
template<typename OtherIter >
static iterator adapt (const OtherIter &itr)
 Adapt one iterator to the standard facade iterator. More...
 
template<typename OtherIter >
static const_iterator cadapt (const OtherIter &itr)
 

Detailed Description

template<class IDataClass>
class WireCell::SequenceAdapter< IDataClass >

An ISequence made by adapting begin/end iterators of some other type.

Definition at line 61 of file ISequence.h.

Member Typedef Documentation

◆ iterator

template<class IDataClass >
typedef ISequence<IDataClass>::iterator WireCell::SequenceAdapter< IDataClass >::iterator

Definition at line 64 of file ISequence.h.

Constructor & Destructor Documentation

◆ SequenceAdapter()

template<class IDataClass >
template<typename OtherIter >
WireCell::SequenceAdapter< IDataClass >::SequenceAdapter ( const OtherIter &  begin,
const OtherIter &  end 
)
inline

Definition at line 67 of file ISequence.h.

◆ ~SequenceAdapter()

template<class IDataClass >
virtual WireCell::SequenceAdapter< IDataClass >::~SequenceAdapter ( )
virtual

Member Function Documentation

◆ begin()

template<class IDataClass >
virtual iterator WireCell::SequenceAdapter< IDataClass >::begin ( )
inlinevirtual

Reimplemented from WireCell::ISequence< IDataClass >.

Definition at line 72 of file ISequence.h.

◆ end()

template<class IDataClass >
virtual iterator WireCell::SequenceAdapter< IDataClass >::end ( )
inlinevirtual

Reimplemented from WireCell::ISequence< IDataClass >.

Definition at line 73 of file ISequence.h.


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