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

Diff for /pegasus/src/Pegasus/Config/ConfigPropertyOwner.h between version 1.16 and 1.17

version 1.16, 2006/01/30 16:17:35 version 1.17, 2006/11/14 18:34:49
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Nag Boranna (nagaraja_boranna@hp.com)  
 //  
 // Modified By: Sushma Fernandes, Hewlett-Packard Company, sushma_fernandes@hp.com  
 //              Chip Vincent (cvincent@us.ibm.com)  
 //              Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614  
 //              David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //              Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
  
Line 74 
Line 65 
     /** Constructors  */     /** Constructors  */
     ConfigPropertyOwner() { }     ConfigPropertyOwner() { }
  
   
     /** Destructor  */     /** Destructor  */
     virtual ~ConfigPropertyOwner() { }     virtual ~ConfigPropertyOwner() { }
  
Line 86 
Line 76 
     */     */
     virtual void initialize() = 0;     virtual void initialize() = 0;
  
   
     /**     /**
     Get information about the specified property.     Get information about the specified property.
  
Line 97 
Line 86 
     virtual void getPropertyInfo(const String& name,     virtual void getPropertyInfo(const String& name,
                          Array<String>& propertyInfo) const = 0;                          Array<String>& propertyInfo) const = 0;
  
   
     /**     /**
     Get default value of the specified property.     Get default value of the specified property.
  
Line 107 
Line 95 
     */     */
     virtual String getDefaultValue(const String& name) const = 0;     virtual String getDefaultValue(const String& name) const = 0;
  
   
     /**     /**
     Get current value of the specified property.     Get current value of the specified property.
  
     @param  name         The name of the property.     @param  name         The name of the property.
     @return string containing the currnet value of the property specified.          @return string containing the current value of the property specified.
     @exception UnrecognizedConfigProperty  if the property is not defined.     @exception UnrecognizedConfigProperty  if the property is not defined.
     */     */
     virtual String getCurrentValue(const String& name) const = 0;     virtual String getCurrentValue(const String& name) const = 0;
  
   
     /**     /**
     Get planned value of the specified property.     Get planned value of the specified property.
  
Line 127 
Line 113 
     */     */
     virtual String getPlannedValue(const String& name) const = 0;     virtual String getPlannedValue(const String& name) const = 0;
  
   
     /**     /**
     Init current value of the specified property to the specified value.     Init current value of the specified property to the specified value.
     This method is expected to be called only once at the start of the     This method is expected to be called only once at the start of the
Line 141 
Line 126 
     */     */
     virtual void initCurrentValue(const String& name, const String& value) = 0;     virtual void initCurrentValue(const String& name, const String& value) = 0;
  
   
     /**     /**
     Init planned value of the specified property to the specified value.     Init planned value of the specified property to the specified value.
     This method is expected to be called only once at the start of the     This method is expected to be called only once at the start of the
Line 155 
Line 139 
     */     */
     virtual void initPlannedValue(const String& name, const String& value) = 0;     virtual void initPlannedValue(const String& name, const String& value) = 0;
  
   
     /**     /**
     Update current value of the specified property to the specified value.     Update current value of the specified property to the specified value.
     The property value will be updated only if the property is dynamically     The property value will be updated only if the property is dynamically
Line 173 
Line 156 
         //throw (NonDynamicConfigProperty, InvalidPropertyValue,         //throw (NonDynamicConfigProperty, InvalidPropertyValue,
         //    UnrecognizedConfigProperty) = 0;         //    UnrecognizedConfigProperty) = 0;
  
   
     /**     /**
     Update planned value of the specified property to the specified value.     Update planned value of the specified property to the specified value.
  
Line 186 
Line 168 
         const String& name,         const String& name,
         const String& value) = 0;         const String& value) = 0;
  
   
     /**     /**
     Checks to see if the given value is valid or not.     Checks to see if the given value is valid or not.
  
Line 197 
Line 178 
     */     */
     virtual Boolean isValid(const String& name, const String& value)const = 0;     virtual Boolean isValid(const String& name, const String& value)const = 0;
  
   
     /**     /**
     Checks to see if the specified property is dynamic or not.     Checks to see if the specified property is dynamic or not.
  
Line 244 
Line 224 
     ConfigDynamic    dynamic;            // Dynamic or non dynamic property     ConfigDynamic    dynamic;            // Dynamic or non dynamic property
     char**     domain;            // List of valid values of a config property     char**     domain;            // List of valid values of a config property
     Uint32     domainSize;        // Size of the domain     Uint32     domainSize;        // Size of the domain
     ConfigVisible    externallyVisible; // Determines whether a property wants to be      // Determines whether a property wants to be externally visible or not.
                                   // externally visible or not.      // If a property chooses not to be externally visible, it is not listed
                                   // If a property chooses not to be externally      // as a configurable property but is still configurable.
                                   // visible, it is not listed as a configurable      ConfigVisible externallyVisible;
                                   // property but is still configurable.  
 }; };
  
 /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////


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