version 1.23, 2006/08/09 21:13:03
|
version 1.24, 2006/11/14 18:34:57
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Robert Kieninger, IBM (kieningr@de.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
|
return pattern.size() == 0 || String::equalNoCase(x, pattern); | return pattern.size() == 0 || String::equalNoCase(x, pattern); |
} | } |
| |
static inline Boolean _ContainsClass(const Array<CIMName>& classNames, const String& match ) |
static inline Boolean _ContainsClass( |
|
const Array<CIMName>& classNames, |
|
const String& match) |
{ | { |
Uint32 n = classNames.size(); | Uint32 n = classNames.size(); |
| |
|
|
return found; | return found; |
} | } |
| |
Boolean AssocClassTable::_InitializeCache( AssocClassCache *cache, |
Boolean AssocClassTable::_InitializeCache( |
|
AssocClassCache* cache, |
const String& path) | const String& path) |
{ | { |
WriteLock lock(_classCacheLock); | WriteLock lock(_classCacheLock); |
|
|
continue; | continue; |
} | } |
| |
// This class qualifies; add it to the list (skipping duplicates) |
// This class qualifies; add it to the list (skipping |
if (!Contains(referenceNames, records[rx][ASSOC_CLASS_NAME_INDEX])) |
// duplicates) |
|
if (!Contains(referenceNames, |
|
records[rx][ASSOC_CLASS_NAME_INDEX])) |
{ | { |
referenceNames.append(records[rx][ASSOC_CLASS_NAME_INDEX]); |
referenceNames.append( |
|
records[rx][ASSOC_CLASS_NAME_INDEX]); |
} | } |
found = true; | found = true; |
} | } |