(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.56 and 1.58

version 1.56, 2008/03/05 21:31:44 version 1.58, 2008/04/11 17:14:03
Line 81 
Line 81 
     _nameTag = generateCIMNameTag(_name);     _nameTag = generateCIMNameTag(_name);
 } }
  
 CIMMethodRep::~CIMMethodRep()  
 {  
 }  
   
 void CIMMethodRep::setName(const CIMName& name) void CIMMethodRep::setName(const CIMName& name)
 { {
     // ensure name is not null     // ensure name is not null
Line 105 
Line 101 
     _nameTag = generateCIMNameTag(_name);     _nameTag = generateCIMNameTag(_name);
 } }
  
 void CIMMethodRep::setClassOrigin(const CIMName& classOrigin)  
 {  
     _classOrigin = classOrigin;  
 }  
   
 void CIMMethodRep::addParameter(const CIMParameter& x) void CIMMethodRep::addParameter(const CIMParameter& x)
 { {
     if (x.isUninitialized())     if (x.isUninitialized())
Line 126 
Line 117 
     _parameters.append(x);     _parameters.append(x);
 } }
  
 Uint32 CIMMethodRep::findParameter(const CIMName& name) const  
 {  
     return _parameters.find(name, generateCIMNameTag(name));  
 }  
   
 CIMParameter CIMMethodRep::getParameter(Uint32 index)  
 {  
     if (index >= _parameters.size())  
         throw IndexOutOfBoundsException();  
   
     return _parameters[index];  
 }  
   
 void CIMMethodRep::removeParameter(Uint32 index)  
 {  
     if (index >= _parameters.size())  
         throw IndexOutOfBoundsException();  
   
     _parameters.remove (index);  
 }  
   
 Uint32 CIMMethodRep::getParameterCount() const  
 {  
     return _parameters.size();  
 }  
   
 void CIMMethodRep::resolve( void CIMMethodRep::resolve(
     DeclContext* declContext,     DeclContext* declContext,
     const CIMNamespaceName& nameSpace,     const CIMNamespaceName& nameSpace,
Line 235 
Line 200 
     return true;     return true;
 } }
  
 void CIMMethodRep::setType(CIMType type)  
 {  
     _type = type;  
 }  
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.56  
changed lines
  Added in v.1.58

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2