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

Detailed Description

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

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

#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
 

Constructor & Destructor Documentation

◆ Range() [1/3]

template<class T >
simgrid::xbt::Range< T >::Range ( )
inline

◆ Range() [2/3]

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

◆ Range() [3/3]

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

Member Function Documentation

◆ begin() [1/2]

template<class T >
T& simgrid::xbt::Range< T >::begin ( )
inline

◆ end() [1/2]

template<class T >
T& simgrid::xbt::Range< T >::end ( )
inline

◆ begin() [2/2]

template<class T >
const T& simgrid::xbt::Range< T >::begin ( ) const
inline

◆ end() [2/2]

template<class T >
const T& simgrid::xbt::Range< T >::end ( ) const
inline

◆ empty()

template<class T >
bool simgrid::xbt::Range< T >::empty ( ) const
inline

◆ contain()

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: