All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
IntegerRanges.h File Reference

Class compacting a list of integers. More...

#include <ostream>
#include <vector>
#include <initializer_list>
#include <numeric>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Classes

class  icarus::details::IntegerRangesBase< T >
 A sequence of contiguous ranges of integral numbers. More...
 
class  icarus::IntegerRanges< T, CheckGrowing >
 A sequence of contiguous ranges of integral numbers. More...
 
class  icarus::details::IntegerRangesBase< T >
 A sequence of contiguous ranges of integral numbers. More...
 
struct  icarus::details::IntegerRangesBase< T >::Range_t
 
class  icarus::IntegerRanges< T, CheckGrowing >
 A sequence of contiguous ranges of integral numbers. More...
 

Namespaces

 icarus
 Cluster finding and building.
 
 icarus::details
 

Functions

template<typename T >
std::ostream & icarus::details::operator<< (std::ostream &out, typename IntegerRangesBase< T >::Data_t const &range)
 
template<bool CheckGrowing = true, typename Coll >
IntegerRanges< typename
Coll::value_type, CheckGrowing > 
icarus::makeIntegerRanges (Coll const &coll)
 
template<typename T , bool CheckGrowing>
std::ostream & icarus::operator<< (std::ostream &out, IntegerRanges< T, CheckGrowing > const &ranges)
 
template<typename T , bool CheckGrowing>
std::ostream & icarus::operator<< (std::ostream &out, typename IntegerRanges< T, CheckGrowing >::Range_t const &r)
 

Detailed Description

Class compacting a list of integers.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
May 18, 2021

This is a header-only, pure standard C++ library.

Definition in file IntegerRanges.h.