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

#include <open_interval.hpp>

Public Types

typedef open_interval< DomainT,
Compare > 
type
 
typedef DomainT domain_type
 

Public Member Functions

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
boost::icl::open_interval< DomainT, Compare >::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::open_interval< DomainT, Compare >::open_interval ( const DomainT &  val)
inlineexplicit

Constructor for an open singleton interval (val-1,val+1)

References BOOST_ASSERT, boost::BOOST_CONCEPT_ASSERT(), boost::BOOST_STATIC_ASSERT(), and boost::serialization::is_less_than().

template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
boost::icl::open_interval< DomainT, Compare >::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::open_interval< DomainT, Compare >::ICL_COMPARE_DOMAIN ( Compare  ,
DomainT   
)
template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
DomainT boost::icl::open_interval< DomainT, Compare >::lower ( ) const
inline
template<class DomainT , ICL_COMPARE Compare = ICL_COMPARE_INSTANCE(ICL_COMPARE_DEFAULT, DomainT)>
DomainT boost::icl::open_interval< DomainT, Compare >::upper ( ) const
inline

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