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 not equal.

Documentation

Compares two CIMNames to determine if they are not equal.

Parameters:
name1 - One name to compare.
name2 - Another name to compare
Returns:
Returns true if the names are not equal, false if they are. The output of the following example is "Not equal".
CIMName name1("this_is_a_name");
CIMName name2("this is another_name");
if (name1 != name2)
{
puts("Not equal");
}
else
{
puts("Equal");
}

Alphabetic index HTML hierarchy of classes or Java