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

Diff for /pegasus/src/Pegasus/Config/RepositoryPropertyOwner.cpp between version 1.16 and 1.17

version 1.16, 2005/06/03 03:48:16 version 1.17, 2005/06/16 05:49:14
Line 34 
Line 34 
 //              Dave Sudlik, IBM (dsudlik@us.ibm.com), for PEP 164 //              Dave Sudlik, IBM (dsudlik@us.ibm.com), for PEP 164
 //              Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614 //              Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614
 //              Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613 //              Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613
   //              Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3613
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 125 
Line 126 
 } }
  
 struct ConfigProperty* RepositoryPropertyOwner::_lookupConfigProperty( struct ConfigProperty* RepositoryPropertyOwner::_lookupConfigProperty(
     const String& name)      const String& name) const
 { {
     if (String::equalNoCase(     if (String::equalNoCase(
             _repositoryIsDefaultInstanceProvider->propertyName, name))             _repositoryIsDefaultInstanceProvider->propertyName, name))
Line 151 
Line 152 
     Array<String>& propertyInfo) const     Array<String>& propertyInfo) const
 { {
     propertyInfo.clear();     propertyInfo.clear();
       struct ConfigProperty * configProperty = _lookupConfigProperty(name);
     RepositoryPropertyOwner* const localThis =  
                         const_cast<RepositoryPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                         localThis->_lookupConfigProperty(name);  
  
     propertyInfo.append(configProperty->propertyName);     propertyInfo.append(configProperty->propertyName);
     propertyInfo.append(configProperty->defaultValue);     propertyInfo.append(configProperty->defaultValue);
Line 184 
Line 181 
 */ */
 String RepositoryPropertyOwner::getDefaultValue(const String& name) const String RepositoryPropertyOwner::getDefaultValue(const String& name) const
 { {
     RepositoryPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                            const_cast<RepositoryPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                            localThis->_lookupConfigProperty(name);  
  
     return configProperty->defaultValue;     return configProperty->defaultValue;
 } }
Line 197 
Line 191 
 */ */
 String RepositoryPropertyOwner::getCurrentValue(const String& name) const String RepositoryPropertyOwner::getCurrentValue(const String& name) const
 { {
     RepositoryPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                             const_cast<RepositoryPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                             localThis->_lookupConfigProperty(name);  
  
     return configProperty->currentValue;     return configProperty->currentValue;
 } }
Line 210 
Line 201 
 */ */
 String RepositoryPropertyOwner::getPlannedValue(const String& name) const String RepositoryPropertyOwner::getPlannedValue(const String& name) const
 { {
     RepositoryPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                            const_cast<RepositoryPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                            localThis->_lookupConfigProperty(name);  
  
     return configProperty->plannedValue;     return configProperty->plannedValue;
 } }
Line 314 
Line 302 
 */ */
 Boolean RepositoryPropertyOwner::isDynamic(const String& name) const Boolean RepositoryPropertyOwner::isDynamic(const String& name) const
 { {
     RepositoryPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                              const_cast<RepositoryPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                              localThis->_lookupConfigProperty(name);  
  
     return (configProperty->dynamic==IS_DYNAMIC);     return (configProperty->dynamic==IS_DYNAMIC);
 } }


Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2