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  List< T >
 A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc. More...
 
class  IntRange< IntType >
 An interval of (signed) integers defined by a start and a size. More...
 
class  IntRange< IntType >::const_iterator
 Random-access input iterator with const access. More...
 
class  IntRange< IntType >::const_reverse_iterator
 Random-access reverse input iterator with const access. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

List< label > identity (const IntRange< int32_t > &range)
 Identity map from an int32_t IntRange. More...
 
Istream & operator>> (Istream &os, IntRange< int32_t > &range)
 Read IntRange from Istream as bracketed (start size) tuple, no checks. More...
 
Istream & operator>> (Istream &os, IntRange< int64_t > &range)
 Read IntRange from Istream as bracketed (start size) tuple, no checks. More...
 
Ostream & operator<< (Ostream &os, const IntRange< int32_t > &range)
 Write IntRange to Ostream as bracketed (start size) tuple. More...
 
Ostream & operator<< (Ostream &os, const IntRange< int64_t > &range)
 Write IntRange to Ostream as bracketed (start size) tuple. More...
 
template<class IntType >
constexpr bool operator== (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
 Test for equality of begin/size values. More...
 
template<class IntType >
constexpr bool operator< (const IntRange< IntType > &a, const IntRange< IntType > &b) noexcept
 Comparison function for sorting, compares the start. More...
 
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.