version 1.14.16.1, 2005/12/30 22:01:01
|
version 1.14.16.2, 2006/02/10 16:09:38
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%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; 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.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // 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/OperationContext.h> | #include <Pegasus/Common/OperationContext.h> |
#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> |
#include <Pegasus/Repository/CIMRepository.h> |
#include <Pegasus/Common/AutoPtr.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
}; | }; |
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT | #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
#ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION | #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION |
class PEGASUS_COMMON_LINKAGE RepositoryContainer |
class PEGASUS_COMMON_LINKAGE NormalizerContextContainer |
: virtual public OperationContext::Container | : virtual public OperationContext::Container |
{ | { |
public: | public: |
static const String NAME; | static const String NAME; |
| |
RepositoryContainer(const OperationContext::Container & container); |
NormalizerContextContainer(const OperationContext::Container & container); |
RepositoryContainer(CIMRepository * repository); |
|
virtual ~RepositoryContainer(void); |
|
| |
RepositoryContainer & operator=(const RepositoryContainer & container); |
NormalizerContextContainer( |
|
AutoPtr<NormalizerContext> & normalizerContext); |
| |
virtual String getName(void) const; |
virtual ~NormalizerContextContainer(); |
virtual OperationContext::Container * clone(void) const; |
|
virtual void destroy(void); |
|
| |
CIMRepository * getRepository(void) const; |
NormalizerContextContainer & operator=( |
|
NormalizerContextContainer & container); |
| |
protected: |
virtual String getName() const; |
CIMRepository * _repository; |
virtual OperationContext::Container * clone() const; |
|
virtual void destroy(); |
|
|
|
NormalizerContext * getContext(void) const; |
| |
|
protected: |
|
AutoPtr<NormalizerContext> _context; |
}; | }; |
#endif // PEGASUS_ENABLE_OBJECT_NORMALIZATION | #endif // PEGASUS_ENABLE_OBJECT_NORMALIZATION |
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT | #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |