Inequality operators

Synopses

Declared in <balcl_commandline.h>

Return true if the type of the specified lhs and rhs are not equal, and return false if they are not equal. Two OptionValue_NullOf objects are equal when their type attributes are note equal.

bool
operator!=(
    OptionValue_NullOf const& lhs,
    OptionValue_NullOf const& rhs);

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two OptionValue objects do not have the same value if their type is not the same, or (if their type is not e_VOID) the value of that type (as accessed through the* methods) is not the same.

bool
operator!=(
    OptionValue const& lhs,
    OptionValue const& rhs);

Return true if the specified lhs command‐line option info has a different value from the specified rhs command‐line option info, and false otherwise. Two TypeInfo objects do not have the same value if the associated options have different types, or one object has a linked variable and the other either does not or refers to a different variable, and one has a constraint and the other either does not or refers to a different constraint. Note that two objects constructed from copies of the same constraint will not be identical. (Use constraint/`setConstraint` to ensure that both constraints are the same.)

bool
operator!=(
    TypeInfo const& lhs,
    TypeInfo const& rhs);

Return true if the specified lhs and rhs do not have the same value, and false otherwise. Two objects of type OccurrenceInfo do not have the same value if and only if they have different occurrence types, or exactly one has a default value, or else both have a default value but their respective default values have either different types or different values.

bool
operator!=(
    OccurrenceInfo const& lhs,
    OccurrenceInfo const& rhs);

Return true if the specified lhs and rhs do not have the same value, and false otherwise. Two OptionInfo object do not have the same value if they do not have the same tag strings, or the same names, or the same descriptions, or the same type information, or the same occurrence information.

bool
operator!=(
    OptionInfo const& lhs,
    OptionInfo const& rhs);

Return true if the specified lhs command‐line option has a different value from the specified rhs command‐line option, and false otherwise. Two Option objects do not have the same value if their underlying OptionInfo objects do not have the same value.

bool
operator!=(
    Option const& lhs,
    Option const& rhs);

Return true if the specified lhs and rhs do note have the same value, and false otherwise. Two CommandLine_SchemaData objects do not have the same value if their type attributes are not the same or if their name attributes do not compare equal.

Return true if the specified lhs and rhs do not have the same value, and false otherwise. Two CommandLineOptionsHandle objects do not have the same value if they do not have the same numOptions or if any of their options differ in name, type, or 'value (or null state).

Return false if the specified lhs and rhs have the same value, and true otherwise. Two command‐line arguments do not have the same value if and only if they have different command‐line specifications, or one is parsed successfully but the other is not, or neither is, or else both have the same specification and both are parsed successfully but they have different values for at least one flag, option or non‐option argument. Note that two identical copies built with the same option table, but unparsed, are not equal.

bool
operator!=(
    CommandLine const& lhs,
    CommandLine const& rhs);

Created with MrDocs