garlic::field_tag Struct Reference

Constraint Tag that passes if the specified Field passes the layer. More...

#include <constraints.h>

Detailed Description

Constraint Tag that passes if the specified Field passes the layer.

make_constraint<field_tag>(std::shared_ptr<Field> pointer,
bool hide = false,
bool ignore_details = false);
Parameters
field_pointera pointer to the Field instance.
hideif true, ConstraintResult from the first failing constraint will be returned. This practically hides this constraint and leaves no trace of it in the resulting ConstraintResult.
ignore_detailsif true, failing constraints will not be added to the resulting ConstraintResult as details.

The documentation for this struct was generated from the following file: