template<class T>
class RooSpan< T >
A simple container to hold a batch of data values. 
It can operate in two modes:
- Span: It holds only a pointer to the storage held by another object like a std::span does.
 
- Temp data: It holds its own data, and exposes the span. This mode is necessary to ship data that are not available in a contiguous storage like e.g. data from a TTree. This means, however, that data have to be copied, and only live as long as the span. 
 
Definition at line 32 of file RooSpan.h.
 | 
| constexpr  | RooSpan () | 
|   | 
| constexpr  | RooSpan (const RooSpan &other) | 
|   | 
| template<typename NON_CONST_T , typename  = typename std::enable_if<std::is_same<const NON_CONST_T, T>::value>::type>  | 
| constexpr  | RooSpan (const RooSpan< NON_CONST_T > &other) | 
|   | Conversion constructor from <T> to <const T>  More...
  | 
|   | 
| constexpr  | RooSpan (const std::vector< typename std::remove_cv< T >::type > &vec) noexcept | 
|   | 
| template<class InputIterator >  | 
| constexpr  | RooSpan (InputIterator beginIn, InputIterator endIn) | 
|   | Construct from a range. Data held by foreign object.  More...
  | 
|   | 
| constexpr  | RooSpan (RooSpan &&other) | 
|   | 
| constexpr  | RooSpan (std::vector< typename std::remove_cv< T >::type > &vec) noexcept | 
|   | 
| constexpr  | RooSpan (std::vector< value_type > &&payload) | 
|   | Hand data over to this span.  More...
  | 
|   | 
| constexpr  | RooSpan (typename std::span< T >::pointer beginIn, typename std::span< T >::index_type sizeIn) | 
|   | Construct from start pointer and size.  More...
  | 
|   | 
| constexpr  | RooSpan (typename std::span< T >::pointer beginIn, typename std::span< T >::pointer endIn) | 
|   | Construct from start and end pointers.  More...
  | 
|   | 
| constexpr std::span< T >::iterator  | begin () const | 
|   | 
| constexpr std::span< T >::pointer  | data () const | 
|   | 
| constexpr bool  | empty () const noexcept | 
|   | 
| constexpr std::span< T >::iterator  | end () const | 
|   | 
| template<typename ptr_t >  | 
| bool  | insideSpan (ptr_t ptr) const | 
|   | Test if the given pointer/iterator is inside the span.  More...
  | 
|   | 
| constexpr bool  | isBatch () const noexcept | 
|   | 
| RooSpan< T > &  | operator= (const RooSpan< T > &other)=default | 
|   | 
| constexpr std::span< T >::reference  | operator[] (typename std::span< T >::index_type i) const noexcept | 
|   | 
| template<class Span_t >  | 
| bool  | overlaps (const Span_t &other) const | 
|   | Test if the span overlaps with other.  More...
  | 
|   | 
| constexpr std::span< T >::index_type  | size () const noexcept | 
|   |