version 1.9, 2005/01/24 15:20:44
|
version 1.10, 2005/01/26 02:25:16
|
|
|
} | } |
| |
_languageId = container._languageId; | _languageId = container._languageId; |
|
|
return(*this); | return(*this); |
} | } |
| |
|
|
*this = *p; | *this = *p; |
} | } |
| |
ProviderIdContainer::ProviderIdContainer( |
ProviderIdContainer::ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider, |
const CIMInstance & module, |
Boolean remoteNameSpace, String remoteInfo) |
const CIMInstance & provider, |
|
Boolean remoteNameSpace, |
|
String remoteInfo) |
|
{ | { |
_module = module; | _module = module; |
_provider = provider; | _provider = provider; |
|
|
{ | { |
} | } |
| |
ProviderIdContainer & ProviderIdContainer::operator=(const ProviderIdContainer & container) |
ProviderIdContainer & ProviderIdContainer::operator=( |
|
const ProviderIdContainer & container) |
{ | { |
if(this == &container) | if(this == &container) |
{ | { |
|
|
return(_remoteInfo); | return(_remoteInfo); |
} | } |
| |
// |
|
// CachedClassDefinitionContainer |
|
// |
|
|
|
const String CachedClassDefinitionContainer::NAME = "CachedClassDefinitionContainer"; |
|
|
|
CachedClassDefinitionContainer::CachedClassDefinitionContainer(const OperationContext::Container & container) |
|
{ |
|
const CachedClassDefinitionContainer * p = dynamic_cast<const CachedClassDefinitionContainer *>(&container); |
|
|
|
if(p == 0) |
|
{ |
|
throw DynamicCastFailedException(); |
|
} |
|
|
|
*this = *p; |
|
} |
|
|
|
|
|
CachedClassDefinitionContainer::CachedClassDefinitionContainer(const CIMClass & cimClass) |
|
: _cimClass(cimClass) |
|
{ |
|
} |
|
|
|
CachedClassDefinitionContainer::~CachedClassDefinitionContainer(void) |
|
{ |
|
} |
|
|
|
CachedClassDefinitionContainer & CachedClassDefinitionContainer::operator=(const CachedClassDefinitionContainer & container) |
|
{ |
|
if(this == &container) |
|
{ |
|
return(*this); |
|
} |
|
|
|
_cimClass = container._cimClass; |
|
|
|
return(*this); |
|
} |
|
|
|
String CachedClassDefinitionContainer::getName(void) const |
|
{ |
|
return(NAME); |
|
} |
|
|
|
OperationContext::Container * CachedClassDefinitionContainer::clone(void) const |
|
{ |
|
return(new CachedClassDefinitionContainer(*this)); |
|
} |
|
|
|
void CachedClassDefinitionContainer::destroy(void) |
|
{ |
|
delete this; |
|
} |
|
|
|
CIMClass CachedClassDefinitionContainer::getClass(void) const |
|
{ |
|
return(_cimClass); |
|
} |
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |