(file) Return to CIMParamValueRep.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CIMParamValueRep.h between version 1.5 and 1.9

version 1.5, 2002/02/22 02:48:01 version 1.9, 2002/05/17 16:58:07
Line 34 
Line 34 
 #include <Pegasus/Common/Exception.h> #include <Pegasus/Common/Exception.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/Sharable.h> #include <Pegasus/Common/Sharable.h>
 #include <Pegasus/Common/CIMParameter.h>  
 #include <Pegasus/Common/CIMValue.h> #include <Pegasus/Common/CIMValue.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class CIMConstParameter;  
   
 class PEGASUS_COMMON_LINKAGE CIMParamValueRep : public Sharable class PEGASUS_COMMON_LINKAGE CIMParamValueRep : public Sharable
 { {
 public: public:
  
     CIMParamValueRep(     CIMParamValueRep(
         CIMParameter parameter,          String parameterName,
         CIMValue value);          CIMValue value,
           Boolean isTyped=true);
  
     ~CIMParamValueRep();     ~CIMParamValueRep();
  
     const CIMParameter & getParameter() const      const String & getParameterName() const
     {     {
         return _parameter;          return _parameterName;
     }     }
  
     const CIMValue & getValue() const     const CIMValue & getValue() const
Line 61 
Line 59 
         return _value;         return _value;
     }     }
  
     void setParameter(CIMParameter& parameter);      Boolean isTyped() const
       {
           return _isTyped;
       }
   
       void setParameterName(String& parameterName);
  
     void setValue(CIMValue& value);     void setValue(CIMValue& value);
  
     void toXml(Array<Sint8>& out) const;      void setIsTyped(Boolean isTyped);
  
     void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const;      void toXml(Array<Sint8>& out) const;
  
     Boolean identical(const CIMParamValueRep* x) const;     Boolean identical(const CIMParamValueRep* x) const;
  
Line 82 
Line 85 
  
     CIMParamValueRep(const CIMParamValueRep& x);     CIMParamValueRep(const CIMParamValueRep& x);
  
     CIMParamValueRep& operator=(const CIMParamValueRep& x);      // This method is declared and made private so that the compiler does
       // not implicitly define a default copy constructor.
       CIMParamValueRep& operator=(const CIMParamValueRep& x)
       {
           //PEGASUS_ASSERT(0);
           return *this;
       }
  
     CIMParameter _parameter;      String _parameterName;
     CIMValue _value;     CIMValue _value;
       Boolean _isTyped;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2