BloombergLP::balcl::Constraint

This struct provides a namespace that defines the types used to impose user-defined constraints on values associated with command-line options. One type is defined for each scalar type defined in balcl::OptionType except for bool.

Synopsis

Declared in <balcl_constraint.h>

struct Constraint;

Type Aliases

NameDescription
CharConstraint Functor type that validates char option values; see TimeConstraint.
DateConstraint Functor type that validates bdlt::Date option values; see TimeConstraint.
DatetimeConstraint Functor type that validates bdlt::Datetime option values; see TimeConstraint.
DoubleConstraint Functor type that validates double option values; see TimeConstraint.
Int64Constraint Functor type that validates Int64 option values; see TimeConstraint.
IntConstraint Functor type that validates int option values; see TimeConstraint.
StringConstraint Functor type that validates bsl::string option values; see TimeConstraint.
TimeConstraint Functor type that validates bdlt::Time option values.