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

Diff for /pegasus/src/Pegasus/Config/NormalizationPropertyOwner.cpp between version 1.9 and 1.10

version 1.9, 2005/06/03 03:48:16 version 1.10, 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 88 
Line 89 
 void NormalizationPropertyOwner::getPropertyInfo(const String & name, void NormalizationPropertyOwner::getPropertyInfo(const String & name,
                          Array<String> & propertyInfo) const                          Array<String> & propertyInfo) const
 { {
     NormalizationPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                            const_cast<NormalizationPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                            localThis->_lookupConfigProperty(name);  
  
     propertyInfo.clear();     propertyInfo.clear();
  
Line 121 
Line 119 
  
 String NormalizationPropertyOwner::getDefaultValue(const String & name) const String NormalizationPropertyOwner::getDefaultValue(const String & name) const
 { {
     NormalizationPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                      const_cast<NormalizationPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                      localThis->_lookupConfigProperty(name);  
  
     return(configProperty->defaultValue);     return(configProperty->defaultValue);
 } }
  
 String NormalizationPropertyOwner::getCurrentValue(const String & name)const String NormalizationPropertyOwner::getCurrentValue(const String & name)const
 { {
     NormalizationPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                      const_cast<NormalizationPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                      localThis->_lookupConfigProperty(name);  
  
     return(configProperty->currentValue);     return(configProperty->currentValue);
 } }
  
 String NormalizationPropertyOwner::getPlannedValue(const String & name) const String NormalizationPropertyOwner::getPlannedValue(const String & name) const
 { {
     NormalizationPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                      const_cast<NormalizationPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                      localThis->_lookupConfigProperty(name);  
  
     return(configProperty->plannedValue);     return(configProperty->plannedValue);
 } }
Line 208 
Line 197 
  
 Boolean NormalizationPropertyOwner::isDynamic(const String & name) const Boolean NormalizationPropertyOwner::isDynamic(const String & name) const
 { {
     NormalizationPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                        const_cast<NormalizationPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                        localThis->_lookupConfigProperty(name);  
  
     return(configProperty->dynamic == IS_DYNAMIC);     return(configProperty->dynamic == IS_DYNAMIC);
 } }
  
 struct ConfigProperty * NormalizationPropertyOwner::_lookupConfigProperty(const String & name)  struct ConfigProperty * NormalizationPropertyOwner::_lookupConfigProperty(const String & name) const
 { {
     if(String::equalNoCase(name, _providerObjectNormalizationEnabled->propertyName))     if(String::equalNoCase(name, _providerObjectNormalizationEnabled->propertyName))
     {     {


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2