satisfiesConstraint overloads
Synopses
Declared in <balcl_typeinfo.h>
Return true if the specified element satisfies the constraint of typeInfo.
static
bool
satisfiesConstraint(
OptionValue const& element,
TypeInfo const& typeInfo);
Return true if the value at variable satisfies the constraint of typeInfo.
static
bool
satisfiesConstraint(
void const* variable,
TypeInfo const& typeInfo);
Return true if element satisfies the constraint of typeInfo.
static
bool
satisfiesConstraint(
OptionValue const& element,
TypeInfo const& typeInfo,
std::ostream& stream);
Return true if the value at variable satisfies the constraint of typeInfo.
static
bool
satisfiesConstraint(
void const* variable,
TypeInfo const& typeInfo,
std::ostream& stream);
Return Value
-
trueifelementsatisfies the constraint (or there is none), andfalseotherwise -
trueif the value satisfies the constraint (or there is none), andfalseotherwise
Parameters
Name |
Description |
element |
option value to validate |
typeInfo |
type and constraint information |
variable |
address of the value to validate |
stream |
diagnostic output stream |
Created with MrDocs