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

Diff for /pegasus/src/Pegasus/Config/FileSystemPropertyOwner.cpp between version 1.17 and 1.18

version 1.17, 2005/06/03 03:48:16 version 1.18, 2005/06/16 05:49:14
Line 31 
Line 31 
 // //
 // Modified By:  Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614 // Modified By:  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 128 
Line 129 
 } }
  
 struct ConfigProperty* FileSystemPropertyOwner::_lookupConfigProperty( struct ConfigProperty* FileSystemPropertyOwner::_lookupConfigProperty(
     const String& name)      const String& name) const
 { {
     if (String::equalNoCase(_repositoryDir->propertyName, name))     if (String::equalNoCase(_repositoryDir->propertyName, name))
     {     {
Line 152 
Line 153 
     Array<String>& propertyInfo) const     Array<String>& propertyInfo) const
 { {
     propertyInfo.clear();     propertyInfo.clear();
       struct ConfigProperty* configProperty = _lookupConfigProperty(name);
     FileSystemPropertyOwner* const localThis = const_cast  
                              <FileSystemPropertyOwner* 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 186 
Line 183 
 */ */
 String FileSystemPropertyOwner::getDefaultValue(const String& name) const String FileSystemPropertyOwner::getDefaultValue(const String& name) const
 { {
     FileSystemPropertyOwner* const localThis =      struct ConfigProperty* configProperty = _lookupConfigProperty(name);
                            const_cast<FileSystemPropertyOwner* const>(this);  
     struct ConfigProperty* configProperty =  
                            localThis->_lookupConfigProperty(name);  
  
     return configProperty->defaultValue;     return configProperty->defaultValue;
 } }
Line 199 
Line 193 
 */ */
 String FileSystemPropertyOwner::getCurrentValue(const String& name) const String FileSystemPropertyOwner::getCurrentValue(const String& name) const
 { {
     FileSystemPropertyOwner* const localThis =      struct ConfigProperty* configProperty = _lookupConfigProperty(name);
                           const_cast<FileSystemPropertyOwner* const>(this);  
     struct ConfigProperty* configProperty =  
                           localThis->_lookupConfigProperty(name);  
  
     return configProperty->currentValue;     return configProperty->currentValue;
 } }
Line 212 
Line 203 
 */ */
 String FileSystemPropertyOwner::getPlannedValue(const String& name) const String FileSystemPropertyOwner::getPlannedValue(const String& name) const
 { {
     FileSystemPropertyOwner* const localThis =      struct ConfigProperty* configProperty = _lookupConfigProperty(name);
                           const_cast<FileSystemPropertyOwner* const>(this);  
     struct ConfigProperty* configProperty =  
                           localThis->_lookupConfigProperty(name);  
  
     return configProperty->plannedValue;     return configProperty->plannedValue;
 } }
Line 293 
Line 281 
 */ */
 Boolean FileSystemPropertyOwner::isDynamic(const String& name) const Boolean FileSystemPropertyOwner::isDynamic(const String& name) const
 { {
     FileSystemPropertyOwner* const localThis =      struct ConfigProperty* configProperty = _lookupConfigProperty(name);
                              const_cast<FileSystemPropertyOwner* const>(this);  
     struct ConfigProperty* configProperty =  
                              localThis->_lookupConfigProperty(name);  
  
     return (configProperty->dynamic==IS_DYNAMIC);     return (configProperty->dynamic==IS_DYNAMIC);
 } }


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2