common::SettingsSpan

Accessor for list of settings that skips negated values when iterated over. The last boolean false value in the list and all earlier values are considered negated.

Synopsis

Declared in <common/settings.h>

struct SettingsSpan;

Member Functions

NameDescription
SettingsSpan [constructor]Constructors
begin Iterator to the first non-negated value.
empty Whether the span has no non-negated values.
end Iterator past the last value.
last_negated Whether the final value in the span is a negation.
negated Count of values considered negated.

Data Members

NameDescription
data Pointer to the first value in the span.
size Number of values in the span.