template <ConstraintKind K>
class Constraint
Defined at line 63 of file ../../tools/fidl/fidlc/src/constraints.h
Forward declarations.
Public Methods
void Constraint<K> ()
Defined at line 68 of file ../../tools/fidl/fidlc/src/constraints.h
void Constraint<K> (ValueType value)
Defined at line 69 of file ../../tools/fidl/fidlc/src/constraints.h
bool ResolveConstraint (TypeResolver *resolver,Constant *param,Resource *resource)
Try to resolve this constraint against the Constant param, and if it resolves store the
constant as the raw constraint.
Defined at line 73 of file ../../tools/fidl/fidlc/src/constraints.h
bool HasConstraint ()
Returns true if this has a non-default value.
Defined at line 82 of file ../../tools/fidl/fidlc/src/constraints.h
void PopulateLayoutInvocation (LayoutInvocation * layout_invocation)
Fill a LayoutInvocation object with the value, and optionally raw value of this constraint.
Friends
template <ConstraintKind K>
bool Constraint (Reporter * reporterconst Name & layout_nameconst Constraint<K> & baseconst Constraint<K> & resolvedConstraint<K> * out_merged)