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

Diff for /pegasus/src/Pegasus/Common/CIMMethodRep.cpp between version 1.35 and 1.36

version 1.35, 2002/08/21 00:15:44 version 1.36, 2002/08/27 23:38:44
Line 87 
Line 87 
     return PEG_NOT_FOUND;     return PEG_NOT_FOUND;
 } }
  
 CIMParameter CIMMethodRep::getParameter(Uint32 pos)  CIMParameter CIMMethodRep::getParameter(Uint32 index)
 { {
     if (pos >= _parameters.size())      if (index >= _parameters.size())
         throw IndexOutOfBoundsException();         throw IndexOutOfBoundsException();
  
     return _parameters[pos];      return _parameters[index];
 } }
  
 void CIMMethodRep::removeParameter(Uint32 pos)  void CIMMethodRep::removeParameter(Uint32 index)
 { {
     if (pos >= _parameters.size())      if (index >= _parameters.size())
         throw IndexOutOfBoundsException();         throw IndexOutOfBoundsException();
  
     _parameters.remove (pos);      _parameters.remove (index);
 } }
  
 Uint32 CIMMethodRep::getParameterCount() const Uint32 CIMMethodRep::getParameterCount() const


Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2