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

Diff for /pegasus/src/Pegasus/Common/CIMParameter.cpp between version 1.23 and 1.23.2.1

version 1.23, 2002/09/11 21:20:24 version 1.23.2.1, 2002/10/28 15:43:21
Line 55 
Line 55 
 } }
  
 CIMParameter::CIMParameter( CIMParameter::CIMParameter(
     const CIMName& name,      const String& name,
     CIMType type,     CIMType type,
     Boolean isArray,     Boolean isArray,
     Uint32 arraySize,     Uint32 arraySize,
     const CIMName& referenceClassName)      const String& referenceClassName)
 { {
     _rep = new CIMParameterRep(     _rep = new CIMParameterRep(
         name, type, isArray, arraySize, referenceClassName);         name, type, isArray, arraySize, referenceClassName);
Line 85 
Line 85 
     return *this;     return *this;
 } }
  
 const CIMName& CIMParameter::getName() const  const String& CIMParameter::getName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getName();     return _rep->getName();
 } }
  
 void CIMParameter::setName(const CIMName& name)  void CIMParameter::setName(const String& name)
 { {
     _checkRep();     _checkRep();
     _rep->setName(name);     _rep->setName(name);
Line 109 
Line 109 
     return _rep->getArraySize();     return _rep->getArraySize();
 } }
  
 const CIMName& CIMParameter::getReferenceClassName() const  const String& CIMParameter::getReferenceClassName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getReferenceClassName();     return _rep->getReferenceClassName();
Line 121 
Line 121 
     return _rep->getType();     return _rep->getType();
 } }
  
 CIMParameter& CIMParameter::addQualifier(const CIMQualifier& x)  void CIMParameter::setType(const CIMType type)
 { {
     _checkRep();     _checkRep();
     _rep->addQualifier(x);      _rep->setType(type);
     return *this;  
 } }
  
 Uint32 CIMParameter::findQualifier(const CIMName& name) const  CIMParameter& CIMParameter::addQualifier(const CIMQualifier& x)
 { {
     _checkRep();     _checkRep();
     return _rep->findQualifier(name);      _rep->addQualifier(x);
       return *this;
 } }
  
 CIMQualifier CIMParameter::getQualifier(Uint32 index)  Uint32 CIMParameter::findQualifier(const String& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->getQualifier(index);      return _rep->findQualifier(name);
 } }
  
 CIMConstQualifier CIMParameter::getQualifier(Uint32 index) const  CIMQualifier CIMParameter::getQualifier(Uint32 pos)
 { {
     _checkRep();     _checkRep();
     return _rep->getQualifier(index);      return _rep->getQualifier(pos);
 } }
  
 void CIMParameter::removeQualifier (Uint32 index)  CIMConstQualifier CIMParameter::getQualifier(Uint32 pos) const
 { {
     _checkRep ();     _checkRep ();
     _rep->removeQualifier (index);      return _rep->getQualifier(pos);
 } }
  
 Uint32 CIMParameter::getQualifierCount() const Uint32 CIMParameter::getQualifierCount() const
Line 158 
Line 158 
     return _rep->getQualifierCount();     return _rep->getQualifierCount();
 } }
  
 Boolean CIMParameter::isUninitialized() const  Boolean CIMParameter::isNull() const
 { {
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
Line 178 
Line 178 
 void CIMParameter::_checkRep() const void CIMParameter::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObjectException();          ThrowUninitializedHandle();
 } }
  
  
Line 204 
Line 204 
 } }
  
 CIMConstParameter::CIMConstParameter( CIMConstParameter::CIMConstParameter(
     const CIMName& name,      const String& name,
     CIMType type,     CIMType type,
     Boolean isArray,     Boolean isArray,
     Uint32 arraySize,     Uint32 arraySize,
     const CIMName& referenceClassName)      const String& referenceClassName)
 { {
     _rep = new CIMParameterRep(     _rep = new CIMParameterRep(
         name, type, isArray, arraySize, referenceClassName);         name, type, isArray, arraySize, referenceClassName);
Line 239 
Line 239 
     return *this;     return *this;
 } }
  
 const CIMName& CIMConstParameter::getName() const  const String& CIMConstParameter::getName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getName();     return _rep->getName();
Line 257 
Line 257 
     return _rep->getArraySize();     return _rep->getArraySize();
 } }
  
 const CIMName& CIMConstParameter::getReferenceClassName() const  const String& CIMConstParameter::getReferenceClassName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getReferenceClassName();     return _rep->getReferenceClassName();
Line 269 
Line 269 
     return _rep->getType();     return _rep->getType();
 } }
  
 Uint32 CIMConstParameter::findQualifier(const CIMName& name) const  Uint32 CIMConstParameter::findQualifier(const String& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->findQualifier(name);     return _rep->findQualifier(name);
 } }
  
 CIMConstQualifier CIMConstParameter::getQualifier(Uint32 index) const  CIMConstQualifier CIMConstParameter::getQualifier(Uint32 pos) const
 { {
     _checkRep();     _checkRep();
     return _rep->getQualifier(index);      return _rep->getQualifier(pos);
 } }
  
 Uint32 CIMConstParameter::getQualifierCount() const Uint32 CIMConstParameter::getQualifierCount() const
Line 287 
Line 287 
     return _rep->getQualifierCount();     return _rep->getQualifierCount();
 } }
  
 Boolean CIMConstParameter::isUninitialized() const  Boolean CIMConstParameter::isNull() const
 { {
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
Line 307 
Line 307 
 void CIMConstParameter::_checkRep() const void CIMConstParameter::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObjectException();          ThrowUninitializedHandle();
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.23  
changed lines
  Added in v.1.23.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2