[#BloombergLP-ball-ThresholdAggregate-maxLevel-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate]::maxLevel
:relfileprefix: ../../../
:mrdocs:

Return the numerically greatest of the specified `recordLevel`, `passLevel`, `triggerLevel`, and `triggerAllLevel` values&period;

== Synopsis

Declared in `&lt;ball&lowbar;thresholdaggregate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
maxLevel(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
----

== Return Value

numerically greatest of the four threshold levels

== Parameters

[cols="1,4"]
|===
| Name| Description
| *recordLevel*
| record threshold level
| *passLevel*
| pass threshold level
| *triggerLevel*
| trigger threshold level
| *triggerAllLevel*
| trigger&hyphen;all threshold level
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
