template <typename T>

class RangeInclusive

Defined at line 22 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

A range bounded inclusively below and above its bounds.

The value type must be a built-in integral type.

Public Methods

void RangeInclusive<T> ()

Creates a range containing all values: (-infinity, +infinity).

Defined at line 27 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

void RangeInclusive<T> (NegativeInfinity , T right)

Creates a range containing all values

<

= `right`: (-infinity, right].

Defined at line 30 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

void RangeInclusive<T> (T left, PositiveInfinity )

Creates a range containing all values

<

= `left`: [left, +infinity).

Defined at line 33 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

void RangeInclusive<T> (T left, T right)

Creates a range containing all values >= `left` and

<

= `right`: [left, right].

`left` must be

<

= `right`.

Defined at line 38 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

bool HasBounds ()

Defined at line 40 of file ../../src/ui/scenic/lib/utils/range_inclusive.h

bool Contains (T value)

Defined at line 42 of file ../../src/ui/scenic/lib/utils/range_inclusive.h