48 std::iota(result.begin(), result.end(),
range.start());
54 inline static Istream&
input(Istream& is, IntRange<T>&
range)
58 is.readEnd(
"IntRange");
65 inline static Ostream&
output(Ostream&
os,
const IntRange<T>&
range)
86 #if defined(WM_LABEL_SIZE) && (WM_LABEL_SIZE >= 64) static List< label > makeIdentity(const IntRange< T > &range)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
An interval of (signed) integers defined by a start and a size.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Begin list [isseparator].
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i)
Istream & operator>>(Istream &, directionInfo &)
static Istream & input(Istream &is, IntRange< T > &range)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
static Ostream & output(Ostream &os, const IntRange< T > &range)