hasValue overloads

Synopses

Declared in <ball_attributecontainer.h>

Return true if the specified attribute is the same as the value held in this container, and false otherwise.

virtual
bool
hasValue(Attribute const& attribute) const override;

Return true if a attribute having the specified value exists in this object, and false otherwise.

virtual
bool
hasValue(Attribute const& value) const = 0;

Return Value

  • true if attribute matches the held value, and false otherwise

  • true if an attribute having value exists in this object, and false otherwise

Parameters

Name

Description

attribute

attribute to compare

value

attribute value to look up

Created with MrDocs