CBMC
|
Data type to describe upper and lower bounds of the range of bits that a read or write access may affect. More...
#include <goto_rw.h>
Public Types | |
using | value_type = int |
Public Member Functions | |
range_spect (value_type v) | |
bool | is_unknown () const |
bool | operator< (const range_spect &other) const |
bool | operator<= (const range_spect &other) const |
bool | operator> (const range_spect &other) const |
bool | operator>= (const range_spect &other) const |
bool | operator== (const range_spect &other) const |
range_spect | operator+ (const range_spect &other) const |
range_spect & | operator+= (const range_spect &other) |
range_spect | operator- (const range_spect &other) const |
range_spect & | operator-= (const range_spect &other) |
range_spect | operator* (const range_spect &other) const |
Static Public Member Functions | |
static range_spect | unknown () |
static range_spect | to_range_spect (const mp_integer &size) |
Private Attributes | |
value_type | v |
Friends | |
std::ostream & | operator<< (std::ostream &, const range_spect &) |
Data type to describe upper and lower bounds of the range of bits that a read or write access may affect.
Each of the bounds may be not known or not constant, which is expressed using range_spect::unknown.
using range_spect::value_type = int |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
friend |
|
private |