[#BloombergLP-balcl-operator_not_eq-06957] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::operator!= :relfileprefix: ../../ :mrdocs: 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-02.adoc[operator!=]( xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue_NullOf] const& lhs, xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue_NullOf] const& rhs); ---- [.small]#xref:BloombergLP/balcl/operator_not_eq-02.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-001.adoc[operator!=]( 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..._]# 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.) [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-04.adoc[operator!=]( 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..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-01.adoc[operator!=]( 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..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-03.adoc[operator!=]( 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..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-009.adoc[operator!=]( 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..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-06958.adoc[operator!=]( xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine_SchemaData] const& lhs, xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine_SchemaData] const& rhs); ---- [.small]#xref:BloombergLP/balcl/operator_not_eq-06958.adoc[_» more..._]# 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). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-008.adoc[operator!=]( 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..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_not_eq-05.adoc[operator!=]( 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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#