(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.23 and 1.23.6.1

version 1.23, 2009/06/11 07:28:57 version 1.23.6.1, 2013/06/03 22:35:51
Line 40 
Line 40 
 #ifndef Pegasus_ConfigPropertyOwner_h #ifndef Pegasus_ConfigPropertyOwner_h
 #define Pegasus_ConfigPropertyOwner_h #define Pegasus_ConfigPropertyOwner_h
  
   #include <Pegasus/Config/Linkage.h>
 #include <Pegasus/Common/ArrayInternal.h> #include <Pegasus/Common/ArrayInternal.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/Config.h>  
 #include <Pegasus/Config/ConfigExceptions.h>  
 #include <Pegasus/Config/Linkage.h>  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 52 
Line 50 
 //  ConfigPropertyOwner Class //  ConfigPropertyOwner Class
 /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
  
   
   struct configProperty;
   
 /** /**
     This is an abstract class that the individual config property     This is an abstract class that the individual config property
     owners will extend and provide implementation.     owners will extend and provide implementation.
Line 75 
Line 76 
     virtual void initialize() = 0;     virtual void initialize() = 0;
  
     /**     /**
         Get information about the specified property.          Get information about the specified property. Note that this
           is a pure virtual function and must be implemented in each
           subclass. It gets the local config property config table and
           builds the propertyInfo array.  Note that it uses
           buildPropertyInfo to to the build
  
         @param name The name of the property.         @param name The name of the property.
         @param propertyInfo List to store the property info.         @param propertyInfo List to store the property info.
Line 84 
Line 89 
     virtual void getPropertyInfo(const String& name,     virtual void getPropertyInfo(const String& name,
                          Array<String>& propertyInfo) const = 0;                          Array<String>& propertyInfo) const = 0;
  
       /*
           Build the standard data from the specified property into the
           propertyInfo array.  This is functions should be used only by
           getPropertyInfo above. This inserts string translations of values
           for defaultValue, etc. into the provided PropertyInfo Array
           TODO: Should this be private???
        */
       void buildPropertyInfo(const String& name,
           const struct ConfigProperty * configProperty,
           Array<String>& propertyInfo)const ;
   
       /**
           Get help about the specified property. Generates String of
           documentation about the property. Normally supplied by this
           class and the ConfigPropertyHelpDescription table but may be
           overridden in sublcasses if more specific help is to be
           supplied.
           @param name String with name of config property
           @return String with help(i.e. description) information.
       */
   
       String getPropertyHelp(const String& name) const;
   
       /**
          Supplemental help information above and beyond
          getPropertyHelp.  Normally this is the place that the
          specific property owner overrides this method and supplies a
          string of possible values (ex. the values for
          traceComponents).
          @param name String with name of config property
          @return String with supplemental help info
        */
       virtual String getPropertyHelpSupplement(const String& name) const;
   
     /**     /**
         Get default value of the specified property.         Get default value of the specified property.
  
Line 188 
Line 227 
         @exception UnrecognizedConfigProperty if the property is not defined.         @exception UnrecognizedConfigProperty if the property is not defined.
     */     */
     virtual Boolean isDynamic(const String& name) const = 0;     virtual Boolean isDynamic(const String& name) const = 0;
   
       /** Initialize and load the appropriate internationalized
          message for the defined key. This function is limited to
          fixed message output.
          @param key String with key to message in message bundle
          @param msg String containing message
       */
       static String loadMessage(const char* key, const char* msg);
 }; };
  
  
Line 256 
Line 303 
 */ */
 /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
  
   /*
       Internal definitions for constants "TRUE" and "FALSE"
   */
 PEGASUS_CONFIG_LINKAGE extern const String STRING_TRUE; PEGASUS_CONFIG_LINKAGE extern const String STRING_TRUE;
 PEGASUS_CONFIG_LINKAGE extern const String STRING_FALSE; PEGASUS_CONFIG_LINKAGE extern const String STRING_FALSE;
  
   /**
    * The Server message resource name
    */
   PEGASUS_CONFIG_LINKAGE extern const char CONFIG_MSG_PATH[];
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* Pegasus_ConfigPropertyOwner_h */ #endif /* Pegasus_ConfigPropertyOwner_h */


Legend:
Removed from v.1.23  
changed lines
  Added in v.1.23.6.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2