BloombergLP::balcl::TypeInfo::setConstraint

setConstraint overloads

Synopses

Declared in <balcl_typeinfo.h>

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::CharConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::DateConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::DatetimeConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::DoubleConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::Int64Constraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::IntConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::StringConstraint const& constraint);
» more...

Put the specified constraint on the value of the described option.

void
setConstraint(Constraint::TimeConstraint const& constraint);
» more...

Set the constraint of the described option to the specified constraint.

void
setConstraint(bsl::shared_ptr<TypeInfoConstraint> const& constraint);
» more...

Parameters

NameDescription
constraintvalue constraint for the option