gz/physics/DataStatusMask.hh
Go to the documentation of this file.
@ EITHER
EITHER true or false.
Definition: gz/physics/DataStatusMask.hh:44
Condition
Specify a condition as MUST be true, MUST_NOT be true, or EITHER.
Definition: gz/physics/DataStatusMask.hh:37
Struct that describes the status of data.
Definition: gz/physics/CompositeData.hh:554
DataStatusMask(const Condition _e=EITHER, const Condition _q=EITHER, const Condition _r=EITHER)
Default constructor. Everything is set to EITHER so that nothing is masked.
@ MUST
MUST be true.
Definition: gz/physics/DataStatusMask.hh:40
Condition queried
MUST means the type must be queried. MUST_NOT means it must not be queried.
Definition: gz/physics/DataStatusMask.hh:54
bool Satisfied(const CompositeData::DataStatus &_status) const
Test whether all conditions of this DataStatusMask are satisfied by the DataStatus.
static bool ConditionSatisfied(const DataStatusMask::Condition _condition, const bool _value)
Test whether a single condition is satisfied:
This struct encodes criteria for CompositeData::DataStatus so that Read and Write operations can be d...
Definition: gz/physics/DataStatusMask.hh:33
@ MUST_NOT
MUST_NOT be true (ie. must be false)
Definition: gz/physics/DataStatusMask.hh:42
Condition exist
MUST means the type must exist in the CompositeData in order to be operated on. MUST_NOT means it mus...
Definition: gz/physics/DataStatusMask.hh:50
Condition required
MUST means the type must be required by the CompositeData. MUST_NOT means it must not be required.
Definition: gz/physics/DataStatusMask.hh:66