version 1.11, 2005/01/31 17:41:53
|
version 1.17, 2006/07/31 08:29:19
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// 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. |
|
|
// 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.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec 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 |
|
|
#include <Pegasus/Common/CIMClass.h> | #include <Pegasus/Common/CIMClass.h> |
#include <Pegasus/Common/CIMInstance.h> | #include <Pegasus/Common/CIMInstance.h> |
| |
|
#include <Pegasus/Common/ObjectNormalizer.h> |
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
// This class should be moved to the OperationContext module when localization | // This class should be moved to the OperationContext module when localization |
|
|
| |
ProviderIdContainer(const OperationContext::Container & container); | ProviderIdContainer(const OperationContext::Container & container); |
ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider, | ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider, |
Boolean remoteNameSpace = false, String remoteInfo = String::EMPTY); |
Boolean isRemoteNameSpace = false, const String & remoteInfo = String::EMPTY); |
virtual ~ProviderIdContainer(void); | virtual ~ProviderIdContainer(void); |
| |
ProviderIdContainer & operator=(const ProviderIdContainer & container); | ProviderIdContainer & operator=(const ProviderIdContainer & container); |
|
|
| |
CIMInstance getModule(void) const; | CIMInstance getModule(void) const; |
CIMInstance getProvider(void) const; | CIMInstance getProvider(void) const; |
const String & getRemoteInfo(void) const; |
|
Boolean isRemoteNameSpace(void) const; | Boolean isRemoteNameSpace(void) const; |
|
String getRemoteInfo(void) const; |
| |
protected: | protected: |
CIMInstance _module; | CIMInstance _module; |
CIMInstance _provider; | CIMInstance _provider; |
Boolean _remoteNameSpace; |
Boolean _isRemoteNameSpace; |
String _remoteInfo; | String _remoteInfo; |
| |
}; | }; |
|
|
| |
}; | }; |
| |
|
class PEGASUS_COMMON_LINKAGE NormalizerContextContainer |
|
: virtual public OperationContext::Container |
|
{ |
|
public: |
|
static const String NAME; |
|
|
|
NormalizerContextContainer(const OperationContext::Container & container); |
|
NormalizerContextContainer(AutoPtr<NormalizerContext> & context); |
|
NormalizerContextContainer(const NormalizerContextContainer & container); |
|
virtual ~NormalizerContextContainer(void); |
|
|
|
NormalizerContextContainer & operator=(const NormalizerContextContainer & container); |
|
|
|
virtual String getName(void) const; |
|
virtual OperationContext::Container * clone(void) const; |
|
virtual void destroy(void); |
|
|
|
NormalizerContext * getContext(void) const; |
|
|
|
protected: |
|
AutoPtr<NormalizerContext> normalizerContext; |
|
|
|
private: |
|
NormalizerContextContainer(); |
|
}; |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif | #endif |