RDFAnalysis  0.1.1
Physics analysis with ROOT::RDataFrame
range_t< Iterator > Class Template Reference

Helper class to allow iterating through a container without allowing users to modify that container. More...

#include <Helpers.h>

Public Types

using itr_t = Iterator
 The templated iterator type. More...
 

Public Member Functions

 range_t (Iterator begin, Iterator end)
 Construct the range from two iterators. More...
 
Iterator begin () const
 The start of the range. More...
 
Iterator end () const
 The end of the range. More...
 
std::size_t size () const
 The size of the wrapped range. More...
 

Detailed Description

template<typename Iterator>
class RDFAnalysis::range_t< Iterator >

Helper class to allow iterating through a container without allowing users to modify that container.

Template Parameters
IteratorThe type of the input iterator.

Member Typedef Documentation

using itr_t = Iterator

The templated iterator type.

Constructor & Destructor Documentation

range_t ( Iterator  begin,
Iterator  end 
)
inline

Construct the range from two iterators.

Member Function Documentation

Iterator begin ( ) const
inline

The start of the range.

Iterator end ( ) const
inline

The end of the range.

std::size_t size ( ) const
inline

The size of the wrapped range.


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