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

Diff for /pegasus/src/Pegasus/Common/CIMQualifierDecl.cpp between version 1.21 and 1.21.2.1

version 1.21, 2002/08/20 17:39:37 version 1.21.2.1, 2002/10/28 15:43:21
Line 24 
Line 24 
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 //              Carol Ann Krug Graves, Hewlett-Packard Company  
 //                (carolann_graves@hp.com)  
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 55 
Line 53 
 } }
  
 CIMQualifierDecl::CIMQualifierDecl( CIMQualifierDecl::CIMQualifierDecl(
     const CIMName& name,      const String& name,
     const CIMValue& value,     const CIMValue& value,
     const CIMScope & scope,      Uint32 scope,
     const CIMFlavor & flavor,      Uint32 flavor,
     Uint32 arraySize)     Uint32 arraySize)
 { {
     _rep = new CIMQualifierDeclRep(name, value, scope, flavor, arraySize);     _rep = new CIMQualifierDeclRep(name, value, scope, flavor, arraySize);
Line 85 
Line 83 
     return *this;     return *this;
 } }
  
 const CIMName& CIMQualifierDecl::getName() const  const String& CIMQualifierDecl::getName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getName();     return _rep->getName();
 } }
  
 void CIMQualifierDecl::setName(const CIMName& name)  void CIMQualifierDecl::setName(const String& name)
 { {
     _checkRep();     _checkRep();
     _rep->setName(name);     _rep->setName(name);
Line 121 
Line 119 
     _rep->setValue(value);     _rep->setValue(value);
 } }
  
 const CIMScope & CIMQualifierDecl::getScope() const  Uint32 CIMQualifierDecl::getScope() const
 { {
     _checkRep();     _checkRep();
     return _rep->getScope();     return _rep->getScope();
 } }
  
 const CIMFlavor & CIMQualifierDecl::getFlavor() const  Uint32 CIMQualifierDecl::getFlavor() const
 { {
     _checkRep();     _checkRep();
     return _rep->getFlavor();     return _rep->getFlavor();
 } }
  
   Boolean CIMQualifierDecl::isFlavor(Uint32 flavor) const
   {
       return ((getFlavor() & flavor) !=0);
   }
   
 Uint32 CIMQualifierDecl::getArraySize() const Uint32 CIMQualifierDecl::getArraySize() const
 { {
     _checkRep();     _checkRep();
     return _rep->getArraySize();     return _rep->getArraySize();
 } }
  
 Boolean CIMQualifierDecl::isUninitialized() const  Boolean CIMQualifierDecl::isNull() const
 { {
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
Line 159 
Line 162 
 void CIMQualifierDecl::_checkRep() const void CIMQualifierDecl::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObjectException();          ThrowUninitializedHandle();
 } }
  
  
Line 185 
Line 188 
 } }
  
 CIMConstQualifierDecl::CIMConstQualifierDecl( CIMConstQualifierDecl::CIMConstQualifierDecl(
     const CIMName& name,      const String& name,
     const CIMValue& value,     const CIMValue& value,
     const CIMScope & scope,      Uint32 scope,
     const CIMFlavor & flavor,      Uint32 flavor,
     Uint32 arraySize)     Uint32 arraySize)
 { {
     _rep = new CIMQualifierDeclRep(name, value, scope, flavor, arraySize);     _rep = new CIMQualifierDeclRep(name, value, scope, flavor, arraySize);
Line 223 
Line 226 
     return *this;     return *this;
 } }
  
 const CIMName& CIMConstQualifierDecl::getName() const  const String& CIMConstQualifierDecl::getName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getName();     return _rep->getName();
Line 247 
Line 250 
     return _rep->getValue();     return _rep->getValue();
 } }
  
 const CIMScope & CIMConstQualifierDecl::getScope() const  Uint32 CIMConstQualifierDecl::getScope() const
 { {
     _checkRep();     _checkRep();
     return _rep->getScope();     return _rep->getScope();
 } }
  
 const CIMFlavor & CIMConstQualifierDecl::getFlavor() const  const Uint32 CIMConstQualifierDecl::getFlavor() const
 { {
     _checkRep();     _checkRep();
     return _rep->getFlavor();     return _rep->getFlavor();
 } }
  
   Boolean CIMConstQualifierDecl::isFlavor(Uint32 flavor) const
   {
       return ((getFlavor() & flavor) !=0);
   }
   
 Uint32 CIMConstQualifierDecl::getArraySize() const Uint32 CIMConstQualifierDecl::getArraySize() const
 { {
     _checkRep();     _checkRep();
     return _rep->getArraySize();     return _rep->getArraySize();
 } }
  
 Boolean CIMConstQualifierDecl::isUninitialized() const  Boolean CIMConstQualifierDecl::isNull() const
 { {
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
Line 285 
Line 293 
 void CIMConstQualifierDecl::_checkRep() const void CIMConstQualifierDecl::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObjectException();          ThrowUninitializedHandle();
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2