SimGrid  3.13
Versatile Simulation of Distributed Systems
simgrid::xbt::Range< T > Class Template Reference

Describes a contiguous inclusive-exclusive [a,b) range of values. More...

#include <range.hpp>

Public Member Functions

 Range ()
 
 Range (T begin, T end)
 
 Range (T value)
 
T & begin ()
 
T & end ()
 
const T & begin () const
 
const T & end () const
 
bool empty () const
 
bool contain (T const &x) const
 

Detailed Description

template<class T>
class simgrid::xbt::Range< T >

Describes a contiguous inclusive-exclusive [a,b) range of values.

Constructor & Destructor Documentation

template<class T >
simgrid::xbt::Range< T >::Range ( )
inline
template<class T >
simgrid::xbt::Range< T >::Range ( begin,
end 
)
inline
template<class T >
simgrid::xbt::Range< T >::Range ( value)
inline

Member Function Documentation

template<class T >
T& simgrid::xbt::Range< T >::begin ( )
inline
template<class T >
T& simgrid::xbt::Range< T >::end ( )
inline
template<class T >
const T& simgrid::xbt::Range< T >::begin ( ) const
inline
template<class T >
const T& simgrid::xbt::Range< T >::end ( ) const
inline
template<class T >
bool simgrid::xbt::Range< T >::empty ( ) const
inline
template<class T >
bool simgrid::xbt::Range< T >::contain ( T const &  x) const
inline

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