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

#include <interval.hpp>

Inheritance diagram for IntervalSet< T >:

Public Member Functions

 IntervalSet ()
 
 IntervalSet (const T &value)
 
 IntervalSet (const Interval< T > &interval)
 
 IntervalSet (const Bound< T > &lower, const Bound< T > &upper)
 
bool contains (const T &value) const
 
bool contains (const Interval< T > &interval) const
 
bool contains (const IntervalSet< T > &set) const
 
bool intersects (const Interval< T > &interval) const
 
bool intersects (const IntervalSet< T > &set) const
 
size_t intervalCount () const
 
bool operator== (const IntervalSet< T > &that) const
 
bool operator!= (const IntervalSet< T > &that) const
 
IntervalSet< T > & operator+= (const T &value)
 
IntervalSet< T > & operator+= (const Interval< T > &interval)
 
IntervalSet< T > & operator+= (const IntervalSet< T > &set)
 
IntervalSet< T > & operator-= (const T &value)
 
IntervalSet< T > & operator-= (const Interval< T > &interval)
 
IntervalSet< T > & operator-= (const IntervalSet< T > &set)
 
IntervalSet< T > & operator&= (const T &value)
 
IntervalSet< T > & operator&= (const Interval< T > &interval)
 
IntervalSet< T > & operator&= (const IntervalSet< T > &set)
 

Friends

template<typename X >
std::ostream & operator<< (std::ostream &stream, const IntervalSet< X > &set)
 

Constructor & Destructor Documentation

template<typename T>
IntervalSet< T >::IntervalSet ( )
inline
template<typename T>
IntervalSet< T >::IntervalSet ( const T &  value)
inlineexplicit
template<typename T>
IntervalSet< T >::IntervalSet ( const Interval< T > &  interval)
inlineexplicit
template<typename T>
IntervalSet< T >::IntervalSet ( const Bound< T > &  lower,
const Bound< T > &  upper 
)
inline

Member Function Documentation

template<typename T>
bool IntervalSet< T >::contains ( const T &  value) const
inline
template<typename T>
bool IntervalSet< T >::contains ( const Interval< T > &  interval) const
inline
template<typename T>
bool IntervalSet< T >::contains ( const IntervalSet< T > &  set) const
inline
template<typename T>
bool IntervalSet< T >::intersects ( const Interval< T > &  interval) const
inline
template<typename T>
bool IntervalSet< T >::intersects ( const IntervalSet< T > &  set) const
inline
template<typename T>
size_t IntervalSet< T >::intervalCount ( ) const
inline
template<typename T>
bool IntervalSet< T >::operator!= ( const IntervalSet< T > &  that) const
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator&= ( const T &  value)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator&= ( const Interval< T > &  interval)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator&= ( const IntervalSet< T > &  set)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator+= ( const T &  value)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator+= ( const Interval< T > &  interval)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator+= ( const IntervalSet< T > &  set)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator-= ( const T &  value)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator-= ( const Interval< T > &  interval)
inline
template<typename T>
IntervalSet<T>& IntervalSet< T >::operator-= ( const IntervalSet< T > &  set)
inline
template<typename T>
bool IntervalSet< T >::operator== ( const IntervalSet< T > &  that) const
inline

Friends And Related Function Documentation

template<typename T>
template<typename X >
std::ostream& operator<< ( std::ostream &  stream,
const IntervalSet< X > &  set 
)
friend

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