Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::icl::right_open_interval< DomainT, Compare > Class Template Reference

#include <right_open_interval.hpp>

Public Types

typedef right_open_interval
< DomainT, Compare > 
type
 
typedef DomainT domain_type
 

Public Member Functions

typedef ICL_COMPARE_DOMAIN (Compare, DomainT) domain_compare
 
 right_open_interval ()
 Default constructor; yields an empty interval [0,0). More...
 
 right_open_interval (const DomainT &val)
 Constructor for a singleton interval [val,val+1) More...
 
 right_open_interval (const DomainT &low, const DomainT &up)
 Interval from low to up with bounds bounds More...
 
domain_type lower () const
 
domain_type upper () const
 

Member Typedef Documentation

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
typedef DomainT boost::icl::right_open_interval< DomainT, Compare >::domain_type
template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
typedef right_open_interval<DomainT,Compare> boost::icl::right_open_interval< DomainT, Compare >::type

Constructor & Destructor Documentation

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
boost::icl::right_open_interval< DomainT, Compare >::right_open_interval ( )
inline

Default constructor; yields an empty interval [0,0).

References boost::BOOST_CONCEPT_ASSERT().

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
boost::icl::right_open_interval< DomainT, Compare >::right_open_interval ( const DomainT &  val)
inlineexplicit

Constructor for a singleton interval [val,val+1)

References boost::BOOST_CONCEPT_ASSERT(), and boost::BOOST_STATIC_ASSERT().

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
boost::icl::right_open_interval< DomainT, Compare >::right_open_interval ( const DomainT &  low,
const DomainT &  up 
)
inline

Interval from low to up with bounds bounds

References boost::BOOST_CONCEPT_ASSERT().

Member Function Documentation

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
typedef boost::icl::right_open_interval< DomainT, Compare >::ICL_COMPARE_DOMAIN ( Compare  ,
DomainT   
)
template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
domain_type boost::icl::right_open_interval< DomainT, Compare >::lower ( ) const
inline
template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
domain_type boost::icl::right_open_interval< DomainT, Compare >::upper ( ) const
inline

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