Back to FabImage Library Lite website
You are here: Start » Integer » ClampLongInteger
ClampLongInteger
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
| Header: | STD.h |
|---|---|
| Namespace: | fil |
Clamps a value to a given range.
Syntax
void fil::ClampLongInteger ( const ftl::int64 inValue, const ftl::int64 inMinimum, const ftl::int64 inMaximum, ftl::int64& outClampedValue )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inValue | const int64 | ||
![]() |
inMinimum | const int64 | ||
![]() |
inMaximum | const int64 | ||
![]() |
outClampedValue | int64& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Invalid range (inMinimum > inMaximum) given in ClampLongInteger. |


