HermesCommon  3.0
Hermes::Range Class Reference

Range of values. More...

#include <range.h>

Public Member Functions

 Range (const int &lower_bound, const int &upper_bound)
 
bool empty () const
 True if range is empty.
 
const int & lower () const
 Lower boundary.
 
const int & upper () const
 Upper boundary.
 
bool is_in_closed (const Range &range) const
 
bool is_in_closed (const int &value) const
 
bool is_in_open (const int &value) const
 
void enlarge_to_include (const int &value)
 

Static Public Member Functions

static Range make_envelope (const Range &a, const Range &b)
 

Protected Attributes

int lower_bound
 
int upper_bound
 
bool empty_range
 

Detailed Description

Range of values.

Definition at line 26 of file range.h.


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