[#BloombergLP-balcl-operator_not_eq-06957]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::operator!&equals;
:relfileprefix: ../../
:mrdocs:

Inequality operators

== Synopses

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

Return `true` if the `type` of the specified `lhs` and `rhs` are not equal, and return `false` if they are not equal&period; Two `OptionValue&lowbar;NullOf` objects are equal when their `type` attributes are note equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-02.adoc[operator!&equals;](
    xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue&lowbar;NullOf] const& lhs,
    xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue&lowbar;NullOf] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-02.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise&period; Two `OptionValue` objects do not have the same value if their type is not the same, or (if their type is not `e&lowbar;VOID`) the value of that type (as accessed through `the&ast;` methods) is not the same&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-001.adoc[operator!&equals;](
    xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& lhs,
    xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-001.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` command&hyphen;line option info has a different value from the specified `rhs` command&hyphen;line option info, and `false` otherwise&period; 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&period; Note that two objects constructed from copies of the same constraint will _not_ be identical&period; (Use `constraint`&sol;`setConstraint` to ensure that both constraints are the same&period;)


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-04.adoc[operator!&equals;](
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& lhs,
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-04.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value, and `false` otherwise&period; 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&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-01.adoc[operator!&equals;](
    xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& lhs,
    xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-01.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value, and `false` otherwise&period; 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&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-03.adoc[operator!&equals;](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& lhs,
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-03.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-009.adoc[operator!&equals;](
    xref:BloombergLP/balcl/Option.adoc[Option] const& lhs,
    xref:BloombergLP/balcl/Option.adoc[Option] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-009.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do note have the same value, and `false` otherwise&period; Two `CommandLine&lowbar;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&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-06958.adoc[operator!&equals;](
    xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine&lowbar;SchemaData] const& lhs,
    xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine&lowbar;SchemaData] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-06958.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value, and `false` otherwise&period; 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 &apos;value (or null state)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-008.adoc[operator!&equals;](
    xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle] const& lhs,
    xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-008.adoc[_» more&period;&period;&period;_]#

Return `false` if the specified `lhs` and `rhs` have the same value, and `true` otherwise&period; Two command&hyphen;line arguments do not have the same value if and only if they have different command&hyphen;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&hyphen;option argument&period; Note that two identical copies built with the same option table, but unparsed, are _not_ equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_not_eq-05.adoc[operator!&equals;](
    xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& lhs,
    xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_not_eq-05.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
