srecord: interval.h File Reference

srecord 1.65.0

Loading...
Searching...
No Matches
interval.h File Reference
`#include <cstddef>`
`#include <stdint.h>`
`#include <iostream>`
Include dependency graph for interval.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | srecord::interval
| The interval class is used to represent a set of integer values, usually composed of runs of adjacent value. More...

## Namespaces
namespace | srecord

## Functions
bool | srecord::operator== (const interval &lhs, const interval &rhs)
| The equality operator is used to determine if two intervals are the same.
bool | srecord::operator!= (const interval &lhs, const interval &rhs)
| The inequality operator is used to determine if two intervals are different.
interval | srecord::operator* (const interval &lhs, const interval &rhs)
| The binary star operator is used to calculate the intersection of two intervals.
interval & | srecord::operator*= (interval &lhs, const interval &rhs)
| The star-and-replace operator is used to calculate the intersection of two intervals, and assign the result to the left-hand-side.
interval | srecord::operator+ (const interval &lhs, const interval &rhs)
| The binary plus operator is used to calculate the union of two intervals.
interval & | srecord::operator+= (interval &lhs, const interval &rhs)
| The plus-and-replace operator is used to calculate the union of two intervals, and assign the result to the left-hand-side.
interval | srecord::operator- (const interval &lhs, const interval &rhs)
| The binary minus operator is used to calculate the difference of two intervals.
interval & | srecord::operator-= (interval &lhs, const interval &rhs)
| The minus-and-replace operator is used to calculate the difference of two intervals, and assign the result to the left-hand-side.
interval | srecord::operator- (const interval &arg)
| The unary minus operator is used to calculate the logical complement (inverse, negative) of an interval.
std::ostream & | srecord::operator<< (std::ostream &os, const interval &val)
| The binary left-shift operator is used to print an interval on an output stream.