Apache Mesos
Public Member Functions | Friends | List of all members
Interval< T > Class Template Reference

#include <interval.hpp>

Public Member Functions

 Interval ()
 
lower () const
 
upper () const
 
bool intersects (const Interval< T > &interval) const
 
bool intersects (const IntervalSet< T > &set) const
 
bool operator== (const Interval< T > &that) const
 
bool operator!= (const Interval< T > &that) const
 

Friends

class Bound< T >
 
template<typename X >
std::ostream & operator<< (std::ostream &stream, const Interval< X > &interval)
 

Constructor & Destructor Documentation

template<typename T>
Interval< T >::Interval ( )
inline

Member Function Documentation

template<typename T>
bool Interval< T >::intersects ( const Interval< T > &  interval) const
template<typename T>
bool Interval< T >::intersects ( const IntervalSet< T > &  set) const
template<typename T>
T Interval< T >::lower ( ) const
inline
template<typename T>
bool Interval< T >::operator!= ( const Interval< T > &  that) const
inline
template<typename T>
bool Interval< T >::operator== ( const Interval< T > &  that) const
inline
template<typename T>
T Interval< T >::upper ( ) const
inline

Friends And Related Function Documentation

template<typename T>
friend class Bound< T >
friend
template<typename T>
template<typename X >
std::ostream& operator<< ( std::ostream &  stream,
const Interval< X > &  interval 
)
friend

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