BloombergLP::ball::ThresholdAggregate

This class implements an aggregate of the four logging threshold levels.

Synopsis

Declared in <ball_thresholdaggregate.h>

class ThresholdAggregate;

Member Functions

NameDescription
ThresholdAggregate [constructor]Constructors
operator= Assign the value of the specified rhs threshold aggregate to this aggregate, and return a reference to this modifiable aggregate.
passLevel Return the pass level of this threshold aggregate.
print Format this object to the specified output stream.
recordLevel Return the record level of this threshold aggregate.
setLevels Set the threshold levels of this threshold aggregate if they are valid.
setPassLevel Set the pass level of this threshold aggregate to the specified passLevel.
setRecordLevel Set the record level of this threshold aggregate to the specified recordLevel.
setTriggerAllLevel Set the trigger-all level of this threshold aggregate to the specified triggerAllLevel.
setTriggerLevel Set the trigger level of this threshold aggregate to the specified triggerLevel.
triggerAllLevel Return the trigger-all level of this threshold aggregate.
triggerLevel Return the trigger level of this threshold aggregate.

Static Member Functions

NameDescription
areValidThresholdLevels Return true if each of the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel threshold values is in the range [0 .. 255], and false otherwise.
hash Return a hash value calculated from the specified threshold aggregate using the specified size as the number of slots.
maxLevel maxLevel overloads

Friends

NameDescription
BloombergLP::ball::operator==Return true if the specified lhs and rhs threshold aggregates have the same value, and false otherwise.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs threshold aggregates do not have the same value, and false otherwise.