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

Diff for /pegasus/src/Pegasus/Config/ConfigFileHandler.cpp between version 1.20 and 1.21

version 1.20, 2006/01/30 16:17:35 version 1.21, 2006/11/14 18:34:49
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Nag Boranna (nagaraja_boranna@hp.com)  
 //  
 // Modified By: Yi Zhou (yi_zhou@hp.com)  
 //            : Sushma Fernandes (sushma_fernandes@hp.com)  
 //              Carol Ann Krug Graves, Hewlett-Packard Company  
 //                (carolann_graves@hp.com)  
 //              Vijay Eli, IBM, (vijayeli@in.ibm.com), bug#3609.  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
  
Line 145 
Line 137 
         {         {
             // unable to create file             // unable to create file
             PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL4,             PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL4,
                 "Failed to create config file: " + cFile + ", " + strerror(errno));                  "Failed to create config file: " + cFile + ", " +
                       strerror(errno));
             throw NoSuchFile(cFile);             throw NoSuchFile(cFile);
         }         }
         ofs.close();         ofs.close();
Line 166 
Line 159 
 */ */
 ConfigFileHandler::~ConfigFileHandler () ConfigFileHandler::~ConfigFileHandler ()
 { {
   
     //     //
     // delete tables     // delete tables
     //     //
Line 346 
Line 338 
             if (!ofs)             if (!ofs)
             {             {
                 PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL4,                 PEG_TRACE_STRING(TRC_CONFIG, Tracer::LEVEL4,
                     "Failed to create config file: " + pFile + ", " + strerror(errno));                      "Failed to create config file: " + pFile + ", " +
                           strerror(errno));
                 throw NoSuchFile(pFile);                 throw NoSuchFile(pFile);
             }             }
             ofs.close();             ofs.close();
Line 392 
Line 385 
 /** /**
     Get the current property value for the specified property name.     Get the current property value for the specified property name.
 */ */
 Boolean ConfigFileHandler::getCurrentValue (const CIMName& name, String& value)  Boolean ConfigFileHandler::getCurrentValue(
 const      const CIMName& name,
       String& value) const
 { {
     if (_currentFileExist)     if (_currentFileExist)
     {     {
Line 407 
Line 401 
 /** /**
     Get the planned property value for the specified property name.     Get the planned property value for the specified property name.
 */ */
 Boolean ConfigFileHandler::getPlannedValue (const CIMName& name, String& value)  Boolean ConfigFileHandler::getPlannedValue(
 const      const CIMName& name,
       String& value) const
 { {
     if (_plannedFileExist)     if (_plannedFileExist)
     {     {
Line 422 
Line 417 
 /** /**
     Get all current property names.     Get all current property names.
 */ */
 void ConfigFileHandler::getAllCurrentPropertyNames (Array<CIMName>& propertyNames)  void ConfigFileHandler::getAllCurrentPropertyNames(
       Array<CIMName>& propertyNames)
 { {
     propertyNames.clear();     propertyNames.clear();
  
Line 496 
Line 492 
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
   


Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2