ARB
Classes | Functions
pos_range.h File Reference
#include <arb_assert.h>
#include <attributes.h>
#include <algorithm>
#include <arbtools.h>
Include dependency graph for pos_range.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PosRange
 
class  ExplicitRange
 

Functions

PosRange intersection (PosRange r1, PosRange r2)
 
ExplicitRange intersection (ExplicitRange r1, ExplicitRange r2)
 
ExplicitRange intersection (ExplicitRange e1, PosRange r2)
 
ExplicitRange intersection (PosRange r1, ExplicitRange e2)
 

Function Documentation

PosRange intersection ( PosRange  r1,
PosRange  r2 
)
inline
ExplicitRange intersection ( ExplicitRange  r1,
ExplicitRange  r2 
)
inline

Definition at line 150 of file pos_range.h.

References PosRange::end(), PosRange::is_empty(), max, min, and PosRange::start().

ExplicitRange intersection ( ExplicitRange  e1,
PosRange  r2 
)
inline

Definition at line 158 of file pos_range.h.

References PosRange::end(), intersection(), and PosRange::is_empty().

ExplicitRange intersection ( PosRange  r1,
ExplicitRange  e2 
)
inline

Definition at line 162 of file pos_range.h.

References PosRange::end(), intersection(), and PosRange::is_empty().