Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Class interval_bounds

boost::icl::interval_bounds

Synopsis

// In header: <boost/icl/interval_bounds.hpp>


class interval_bounds {
public:
  // construct/copy/destruct
  interval_bounds();
  explicit interval_bounds(bound_type);

  // public member functions
   BOOST_STATIC_CONSTANT(bound_type, static_open = 0);
   BOOST_STATIC_CONSTANT(bound_type, static_left_open = 1);
   BOOST_STATIC_CONSTANT(bound_type, static_right_open = 2);
   BOOST_STATIC_CONSTANT(bound_type, static_closed = 3);
   BOOST_STATIC_CONSTANT(bound_type, dynamic = 4);
   BOOST_STATIC_CONSTANT(bound_type, undefined = 5);
   BOOST_STATIC_CONSTANT(bound_type, _open = 0);
   BOOST_STATIC_CONSTANT(bound_type, _left_open = 1);
   BOOST_STATIC_CONSTANT(bound_type, _right_open = 2);
   BOOST_STATIC_CONSTANT(bound_type, _closed = 3);
   BOOST_STATIC_CONSTANT(bound_type, _right = 1);
   BOOST_STATIC_CONSTANT(bound_type, _left = 2);
   BOOST_STATIC_CONSTANT(bound_type, _all = 3);
  interval_bounds all() const;
  interval_bounds left() const;
  interval_bounds right() const;
  interval_bounds reverse_left() const;
  interval_bounds reverse_right() const;
  bound_type bits() const;

  // public static functions
  static interval_bounds open();
  static interval_bounds left_open();
  static interval_bounds right_open();
  static interval_bounds closed();

  // public data members
  bound_type _bits;
};

Description

interval_bounds public construct/copy/destruct

  1. interval_bounds();
  2. explicit interval_bounds(bound_type bounds);

interval_bounds public member functions

  1.  BOOST_STATIC_CONSTANT(bound_type, static_open = 0);
  2.  BOOST_STATIC_CONSTANT(bound_type, static_left_open = 1);
  3.  BOOST_STATIC_CONSTANT(bound_type, static_right_open = 2);
  4.  BOOST_STATIC_CONSTANT(bound_type, static_closed = 3);
  5.  BOOST_STATIC_CONSTANT(bound_type, dynamic = 4);
  6.  BOOST_STATIC_CONSTANT(bound_type, undefined = 5);
  7.  BOOST_STATIC_CONSTANT(bound_type, _open = 0);
  8.  BOOST_STATIC_CONSTANT(bound_type, _left_open = 1);
  9.  BOOST_STATIC_CONSTANT(bound_type, _right_open = 2);
  10.  BOOST_STATIC_CONSTANT(bound_type, _closed = 3);
  11.  BOOST_STATIC_CONSTANT(bound_type, _right = 1);
  12.  BOOST_STATIC_CONSTANT(bound_type, _left = 2);
  13.  BOOST_STATIC_CONSTANT(bound_type, _all = 3);
  14. interval_bounds all() const;
  15. interval_bounds left() const;
  16. interval_bounds right() const;
  17. interval_bounds reverse_left() const;
  18. interval_bounds reverse_right() const;
  19. bound_type bits() const;

interval_bounds public static functions

  1. static interval_bounds open();
  2. static interval_bounds left_open();
  3. static interval_bounds right_open();
  4. static interval_bounds closed();

PrevUpHomeNext