version 1.23, 2013/09/26 16:04:18
|
version 1.24, 2014/12/03 21:21:21
|
|
|
_rep->cimNameTags.append(nameTag); | _rep->cimNameTags.append(nameTag); |
} | } |
| |
|
Boolean CIMPropertyList::contains(const CIMName& name) const |
|
{ |
|
Uint32 n = _rep->propertyNames.size(); |
|
|
|
for (Uint32 i = 0; i < n; i++) |
|
{ |
|
if (_rep->propertyNames[i] == name) |
|
{ |
|
return true; |
|
} |
|
} |
|
|
|
return false; |
|
} |
|
|
|
Boolean CIMPropertyList::useThisProperty(const CIMName& name) const |
|
{ |
|
if (_rep->isNull) |
|
{ |
|
return true; |
|
} |
|
return contains(name); |
|
} |
|
|
String CIMPropertyList::toString() const | String CIMPropertyList::toString() const |
{ | { |
if (_rep->isNull) | if (_rep->isNull) |