version 1.1, 2002/09/19 16:17:36
|
version 1.8, 2004/11/15 13:19:51
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2004//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// 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.; |
|
// 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(const String & languageId) | LocaleContainer::LocaleContainer(const String & languageId) |
#ifndef PEGASUS_REMOVE_DEPRECATED |
|
: OperationContext::Container(CONTEXT_LOCALE) |
|
#endif |
|
{ | { |
_languageId = languageId; | _languageId = languageId; |
} | } |
|
|
{ | { |
} | } |
| |
|
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, |
#ifndef PEGASUS_REMOVE_DEPRECATED |
Boolean remoteNameSpace, String remoteInfo) |
: OperationContext::Container(CONTEXT_PROVIDERID) |
|
#endif |
|
{ | { |
_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 |