(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.38 and 1.38.6.1

version 1.38, 2009/06/11 07:28:57 version 1.38.6.1, 2013/06/03 22:35:51
Line 41 
Line 41 
 #include <Pegasus/Common/FileSystem.h> #include <Pegasus/Common/FileSystem.h>
 #include <Pegasus/Config/ConfigManager.h> #include <Pegasus/Config/ConfigManager.h>
 #include "FileSystemPropertyOwner.h" #include "FileSystemPropertyOwner.h"
   #include "ConfigExceptions.h"
   
  
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
Line 172 
Line 174 
     const String& name,     const String& name,
     Array<String>& propertyInfo) const     Array<String>& propertyInfo) const
 { {
     propertyInfo.clear();  
     struct ConfigProperty* configProperty = _lookupConfigProperty(name);     struct ConfigProperty* configProperty = _lookupConfigProperty(name);
  
     propertyInfo.append(configProperty->propertyName);      buildPropertyInfo(name, configProperty, propertyInfo);
     propertyInfo.append(configProperty->defaultValue);  
     propertyInfo.append(configProperty->currentValue);  
     propertyInfo.append(configProperty->plannedValue);  
     if (configProperty->dynamic)  
     {  
         propertyInfo.append(STRING_TRUE);  
     }  
     else  
     {  
         propertyInfo.append(STRING_FALSE);  
     }     }
     if (configProperty->externallyVisible)  
     {  
         propertyInfo.append(STRING_TRUE);  
     }  
     else  
     {  
         propertyInfo.append(STRING_FALSE);  
     }  
 }  
   
  
 /** /**
     Get default value of the specified property.     Get default value of the specified property.
Line 260 
Line 241 
     const String& userName,     const String& userName,
     Uint32 timeoutSeconds)     Uint32 timeoutSeconds)
 { {
       struct ConfigProperty* configProperty = _lookupConfigProperty(name);
   
     //     //
     // make sure the property is dynamic before updating the value.     // make sure the property is dynamic before updating the value.
     //     //
     if (!isDynamic(name))      if (configProperty->dynamic != IS_DYNAMIC)
     {     {
         throw NonDynamicConfigProperty(name);         throw NonDynamicConfigProperty(name);
     }     }
  
     struct ConfigProperty* configProperty = _lookupConfigProperty(name);  
     configProperty->currentValue = value;     configProperty->currentValue = value;
 } }
  


Legend:
Removed from v.1.38  
changed lines
  Added in v.1.38.6.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2