version 1.15, 2004/10/17 20:39:16
|
version 1.22, 2007/10/23 17:42:56
|
|
|
//%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 |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
|
// |
|
// Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_ParamValueRep_h | #ifndef Pegasus_ParamValueRep_h |
|
|
#include <Pegasus/Common/Sharable.h> | #include <Pegasus/Common/Sharable.h> |
#include <Pegasus/Common/CIMValue.h> | #include <Pegasus/Common/CIMValue.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/Buffer.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class PEGASUS_COMMON_LINKAGE CIMParamValueRep : public Sharable |
class CIMParamValueRep : public Sharable |
{ | { |
public: | public: |
| |
|
|
| |
void setIsTyped(Boolean isTyped); | void setIsTyped(Boolean isTyped); |
| |
void toXml(Array<Sint8>& out) const; |
void toXml(Buffer& out) const; |
| |
CIMParamValueRep* clone() const | CIMParamValueRep* clone() const |
{ | { |
|
|
| |
private: | private: |
| |
CIMParamValueRep(); |
|
|
|
CIMParamValueRep(const CIMParamValueRep& x); | CIMParamValueRep(const CIMParamValueRep& x); |
| |
// This method is declared and made private so that the compiler does |
CIMParamValueRep(); // Unimplemented |
// not implicitly define a default copy constructor. |
CIMParamValueRep& operator=(const CIMParamValueRep& x); // Unimplemented |
CIMParamValueRep& operator=(const CIMParamValueRep& x) |
|
{ |
|
//PEGASUS_ASSERT(0); |
|
return *this; |
|
} |
|
| |
String _parameterName; | String _parameterName; |
CIMValue _value; | CIMValue _value; |