version 1.4, 2004/06/15 18:38:24
|
version 1.10, 2005/01/26 02:25:16
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2004//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
{ | { |
} | } |
| |
|
LocaleContainer &LocaleContainer::operator=(const LocaleContainer &container) |
|
{ |
|
if (this == &container) |
|
{ |
|
return (*this); |
|
} |
|
|
|
_languageId = container._languageId; |
|
return (*this); |
|
} |
|
|
String LocaleContainer::getName(void) const | String LocaleContainer::getName(void) const |
{ | { |
return(NAME); | return(NAME); |
|
|
*this = *p; | *this = *p; |
} | } |
| |
ProviderIdContainer::ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider) |
ProviderIdContainer::ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider, |
|
Boolean remoteNameSpace, String remoteInfo) |
{ | { |
_module = module; | _module = module; |
_provider = provider; | _provider = provider; |
|
_remoteNameSpace=remoteNameSpace; |
|
_remoteInfo=remoteInfo; |
} | } |
| |
ProviderIdContainer::~ProviderIdContainer(void) | ProviderIdContainer::~ProviderIdContainer(void) |
{ | { |
} | } |
| |
|
ProviderIdContainer & ProviderIdContainer::operator=( |
|
const ProviderIdContainer & container) |
|
{ |
|
if (this == &container) |
|
{ |
|
return (*this); |
|
} |
|
|
|
_module = container._module; |
|
_provider = container._provider; |
|
_remoteNameSpace = container._remoteNameSpace; |
|
_remoteInfo = container._remoteInfo; |
|
|
|
return (*this); |
|
} |
|
|
String ProviderIdContainer::getName(void) const | String ProviderIdContainer::getName(void) const |
{ | { |
return(NAME); | return(NAME); |
|
|
return(_provider); | return(_provider); |
} | } |
| |
|
Boolean ProviderIdContainer::isRemoteNameSpace(void) const |
|
{ |
|
return(_remoteNameSpace); |
|
} |
|
|
|
const String & ProviderIdContainer::getRemoteInfo(void) const |
|
{ |
|
return(_remoteInfo); |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |