Loading...
Searching...
No Matches
IntRange.H File Reference
Include dependency graph for IntRange.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IntRange< IntType >
 An interval of (signed) integers defined by a start and a size. More...
struct  IntRange< IntType >::gt0
 Unary predicate for greater than 0 (int values). More...
struct  IntRange< IntType >::lt0
 Unary predicate for less than 0 (int values). More...
struct  IntRange< IntType >::ge0
 Unary predicate for greater-equal 0 (int values). More...
struct  IntRange< IntType >::le0
 Unary predicate for less-equal 0 (int values). More...

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class T>
Istreamoperator>> (Istream &, IntRange< T > &)
 Read from Istream as bracketed (start size) tuple.
template<class T>
Ostreamoperator<< (Ostream &, const IntRange< T > &)
 Write to Ostream as bracketed (start size) tuple.
template<class IntType>
constexpr bool operator== (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
 Test for equality of begin/size values.
template<class IntType>
constexpr bool operator< (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
 Comparison function for sorting, compares the start.
template<class IntType>
constexpr bool operator!= (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
template<class IntType>
constexpr bool operator<= (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
template<class IntType>
constexpr bool operator> (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
template<class IntType>
constexpr bool operator>= (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept

Detailed Description

Original source file IntRange.H

Definition in file IntRange.H.