The == operator
is a comparison function used by OMString to determine
whether two objects are equal.
Signaturesint operator==(const OMString& s2) const
int operator==(const char * c2) const
inline int operator==(const char * c1,
const OMString& s2)
Parameters
for signature 1s2
The string to compare to the current
string
Parameters for
signature 2c2
The character to compare to the current
character
Parameters
for signature 3c1
The character to compare to the specified
string
s2
The string to compare to the specified
character
ReturnsThe
method returns one of the following values:
- 1 -
The objects are equal.
- 0 -
The objects are
not equal.