version 1.35, 2002/08/21 00:15:44
|
version 1.36, 2002/08/27 23:38:44
|
|
|
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 |