[#BloombergLP-ball-operator_eq-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;ball&lowbar;attribute&period;h&gt;`

Return `true` if the specified `lhs` and the specified `rhs` iterators have the same value and `false` otherwise&period; Two iterators have the same value if they refer to the same position in the same list, or if both iterators are at an invalid position in the list (i&period;e&period;, the &quot;end&quot; of the list, or the default constructed value)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-019.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/AttributeContainerListIterator.adoc[AttributeContainerListIterator] const& lhs,
    xref:BloombergLP/ball/AttributeContainerListIterator.adoc[AttributeContainerListIterator] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-019.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `DefaultAttributeContainer` objects have the same value if they contain the same number of (unique) attributes, and every attribute that appears in one object also appears in the other&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-01e.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/DefaultAttributeContainer.adoc[DefaultAttributeContainer] const& lhs,
    xref:BloombergLP/ball/DefaultAttributeContainer.adoc[DefaultAttributeContainer] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-01e.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` record formatters have the same value, and `false` otherwise&period; Two record formatters have the same value if they have the same format specification and the same timestamp offset&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-00d.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/RecordStringFormatter.adoc[RecordStringFormatter] const& lhs,
    xref:BloombergLP/ball/RecordStringFormatter.adoc[RecordStringFormatter] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-00d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` record formatters have the same value, and `false` otherwise&period; Two record formatters have the same value if they have the same format syntax, format specification, timezone default, and record separator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0f06.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter] const& lhs,
    xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0f06.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `CategoryManager&lowbar;RadixTree` objects have the same value if they have the same number of entries and each key in `lhs` maps to the same value as in `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VALUE&gt;
bool
xref:BloombergLP/ball/operator_eq-05.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager&lowbar;RadixTree&lt;t&lowbar;VALUE&gt;] const& lhs,
    xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager&lowbar;RadixTree&lt;t&lowbar;VALUE&gt;] const& rhs);
----

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

Return `true` if the specified trees have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-03f.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager&lowbar;RadixTree&lt;t&lowbar;TYPE&gt;] const&,
    xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager&lowbar;RadixTree&lt;t&lowbar;TYPE&gt;] const&);
----

[.small]#xref:BloombergLP/ball/operator_eq-03f.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` nodes have the same value, and `false` otherwise&period; Two nodes have the same value if they have the same prefix, the same value (or both have no value), and the same children&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VALUE&gt;
bool
xref:BloombergLP/ball/operator_eq-035.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/CategoryManager_RadixTree_Node.adoc[CategoryManager&lowbar;RadixTree&lowbar;Node&lt;t&lowbar;VALUE&gt;] const& lhs,
    xref:BloombergLP/ball/CategoryManager_RadixTree_Node.adoc[CategoryManager&lowbar;RadixTree&lowbar;Node&lt;t&lowbar;VALUE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-035.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` rule sets have the same value, and `false` otherwise&period; Two rule sets have the same value if every rule that exists in one rule set also exists in the other&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0b0.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& lhs,
    xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0b0.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Rule` objects have the same value if they have the same attributes, the same four respective threshold levels, and the same pattern&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0a.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/Rule.adoc[Rule] const& lhs,
    xref:BloombergLP/ball/Rule.adoc[Rule] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0a.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `ManagedAttributeSet` objects have the same value if they have the same number of attributes and every attribute value that appears in one object also appears in the other&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-08e2.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet] const& lhs,
    xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-08e2.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` attribute objects have the same (in&hyphen;core) value, and `false` otherwise&period; Two attribute objects objects have the same in&hyphen;core value if each respective attribute has the same in&hyphen;core value&period; Note that functor attributes must have identically the same representation to have the same in&hyphen;core value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-085.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/LoggerManagerConfiguration.adoc[LoggerManagerConfiguration] const& lhs,
    xref:BloombergLP/ball/LoggerManagerConfiguration.adoc[LoggerManagerConfiguration] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-085.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise&period; Two attribute objects objects have the same value if each respective attribute has the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-080.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/LoggerManagerDefaults.adoc[LoggerManagerDefaults] const& lhs,
    xref:BloombergLP/ball/LoggerManagerDefaults.adoc[LoggerManagerDefaults] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-080.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` lists have the same value, and `false` otherwise&period; Two lists have the same value if they have the same number of attribute container addresses, and the address at each index position have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-027.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/AttributeContainerList.adoc[AttributeContainerList] const& lhs,
    xref:BloombergLP/ball/AttributeContainerList.adoc[AttributeContainerList] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-027.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `Attribute` objects have the same value if they have the same name (but not necessarily the identical representation in memory), the same attribute value type, and the same attribute value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-03b.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/Attribute.adoc[Attribute] const& lhs,
    xref:BloombergLP/ball/Attribute.adoc[Attribute] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-03b.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `ball&colon;&colon;UserFields` objects have the same value if they have the same number of elements, and each element in `lhs` has the same value as corresponding element at the same index in `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-010.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/UserFields.adoc[UserFields] const& lhs,
    xref:BloombergLP/ball/UserFields.adoc[UserFields] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-010.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-048.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue] const& lhs,
    xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-048.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` record attributes objects have the same value, and `false` otherwise&period; Two record attributes objects have the same value if each respective pair of attributes have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0b7.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes] const& lhs,
    xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0b7.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` log records have the same value, and `false` otherwise&period; Two log records have the same value if the respective fixed fields have the same value and the respective user&hyphen;defined fields have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-031.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/Record.adoc[Record] const& lhs,
    xref:BloombergLP/ball/Record.adoc[Record] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-031.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` context objects have the same value, and `false` otherwise&period; Two context objects have the same value if each respective pair of corresponding attributes have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-07.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/Context.adoc[Context] const& lhs,
    xref:BloombergLP/ball/Context.adoc[Context] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` hierarchical category settings have the same value, and `false` otherwise&period; Two such objects have the same value if they have the same category name prefix and threshold values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0f00.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/HierarchicalCategorySetting.adoc[HierarchicalCategorySetting] const& lhs,
    xref:BloombergLP/ball/HierarchicalCategorySetting.adoc[HierarchicalCategorySetting] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0f00.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` threshold aggregates have the same value, and `false` otherwise&period; Two threshold aggregates have the same value if all four of their respective threshold levels are the same&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-0e.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate] const& lhs,
    xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-0e.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `RecordFormatterOptions` objects have the same value if their `timezoneDefault` attributes have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-045.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/RecordFormatterOptions.adoc[RecordFormatterOptions] const& lhs,
    xref:BloombergLP/ball/RecordFormatterOptions.adoc[RecordFormatterOptions] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-045.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-021.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/Attribute.adoc[Attribute] const& lhs,
    xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-021.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/ball/operator_eq-08e7.adoc[operator&equals;&equals;](
    xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute] const& lhs,
    xref:BloombergLP/ball/Attribute.adoc[Attribute] const& rhs);
----

[.small]#xref:BloombergLP/ball/operator_eq-08e7.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `ManagedAttribute` objects have the same value if they have the same name, same attribute value type, and the same attribute value&period;


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

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


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