srecord  1.65.0
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

 srecord
 

Functions

bool srecord::operator== (const interval &lhs, const interval &rhs)
 The equality operator is used to determine if two intervals are the same. More...
 
bool srecord::operator!= (const interval &lhs, const interval &rhs)
 The inequality operator is used to determine if two intervals are different. More...
 
interval srecord::operator* (const interval &lhs, const interval &rhs)
 The binary star operator is used to calculate the intersection of two intervals. More...
 
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. More...
 
interval srecord::operator+ (const interval &lhs, const interval &rhs)
 The binary plus operator is used to calculate the union of two intervals. More...
 
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. More...
 
interval srecord::operator- (const interval &lhs, const interval &rhs)
 The binary minus operator is used to calculate the difference of two intervals. More...
 
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. More...
 
interval srecord::operator- (const interval &arg)
 The unary minus operator is used to calculate the logical complement (inverse, negative) of an interval. More...
 
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. More...