|
In file ../../src/Pegasus/Common/CIMName.h:
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
|