In file ../../src/Pegasus/Common/CIMName.h:

PEGASUS_COMMON_LINKAGE Boolean operator==

( const CIMName& name1,
  const CIMName& name2)

Compares two CIMNames to determine if they are equal.

Documentation

Compares two CIMNames to determine if they are equal.

Parameters:
name1 - One name to compare.
name2 - Another name to compare
Returns:
Returns true if the names are equal, false if they are not. CIMNames are not case sensitive, therefore the output of the following example is "Equal".
CIMName lowerCaseName("this_is_a_name");
CIMName upperCaseName("THIS_IS_A_NAME");
if (lowerCaseName == upperCaseName)
{
puts("Equal");
}
else
{
puts("Not equal");
}

Alphabetic index HTML hierarchy of classes or Java