BloombergLP::balcl::operator==

Equality operators

Synopses

Declared in <balcl_commandline.h>

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

bool
operator==(
    OptionValue_NullOf const& lhs,
    OptionValue_NullOf const& rhs);
» more...

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

bool
operator==(
    OptionValue const& lhs,
    OptionValue const& rhs);
» more...

Return true if the specified lhs and rhs have the same value, and false otherwise. Two TypeInfo objects have the same value if their associated options have the same type, both objects do not have a linked variable or both refer to the same variable, and both do not have a constraint or both refer to the same 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);
» more...

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

bool
operator==(
    OccurrenceInfo const& lhs,
    OccurrenceInfo const& rhs);
» more...

Return true if the specified lhs and rhs have the same value, and false otherwise. Two OptionInfo objects have the same value if they have the same tag string, the same name, the same description, the same type info, and the same occurrence info values.

bool
operator==(
    OptionInfo const& lhs,
    OptionInfo const& rhs);
» more...

Return true if the specified lhs and rhs have the same value, and false otherwise. Two Option objects have the same value if their underlying OptionInfo objects have the same value.

bool
operator==(
    Option const& lhs,
    Option const& rhs);
» more...

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

bool
operator==(
    CommandLine_SchemaData const& lhs,
    CommandLine_SchemaData const& rhs);
» more...

Return true if the specified lhs and rhs have the same value, and false otherwise. Two CommandLineOptionsHandle objects have the same value if they have the same numOptions and each of those options have the same name, type, and value or are in the null state.

bool
operator==(
    CommandLineOptionsHandle const& lhs,
    CommandLineOptionsHandle const& rhs);
» more...

Return true if the specified lhs and rhs have the same value, and false otherwise. Two command-line arguments have the same value if and only if they are both parsed successfully and have the same command-line specifications and the same values for flags, options, and non-option arguments. Note that two identical copies built with the same option table, but unparsed, are not equal.

bool
operator==(
    CommandLine const& lhs,
    CommandLine const& rhs);
» more...