gogoc-config/src/config.cc
bool Config::ApplyConfiguration( void )
{
  assert( m_pParser != NULL );    // Need to have a parser!
  
  // If access mode is READ only, we're not suposed to write any existing 
  // configuration data.
  if( m_eAccessMode == AM_READ )
  {
    throw GOGOC_UIS__CFG_CANNOTAPPLYWHENREAD;
  }

  // Apply the changes to disk.
  return m_pParser->WriteConfigurationData( m_sConfigFile );  
}
// --------------------------------------------------------------------------
// Function : ApplyConfiguration
//
// Description:
//   Will apply changes made to the configuration data. This is done by the
//   parser object which will write the changes to the medium.
//
// Arguments: (none)
//
// Return values:
//   true if changes have been saved, false otherwise.
//
// Exceptions:
//   See Parser::WriteConfigurationData().
//
// --------------------------------------------------------------------------
Function : ApplyConfiguration
Description:
Will apply changes made to the configuration data. This is done by the
parser object which will write the changes to the medium.

(none)

Return values:
true if changes have been saved, false otherwise.


Function : ApplyConfiguration Description : Will apply changes made to the configuration data . This is done by the parser object which will write the changes to the medium . ( none ) Return values : true if changes have been saved false otherwise .
bool Config::ApplyConfiguration( void )
{
  assert( m_pParser != NULL );    
  if( m_eAccessMode == AM_READ )
  {
    throw GOGOC_UIS__CFG_CANNOTAPPLYWHENREAD;
  }
  return m_pParser->WriteConfigurationData( m_sConfigFile );  
}
bool Config :: ApplyConfiguration ( void ) { assert ( m_pParser != NULL ) ; if ( m_eAccessMode == AM_READ ) { throw GOGOC_UIS__CFG_CANNOTAPPLYWHENREAD ; } return m_pParser -> WriteConfigurationData ( m_sConfigFile ) ; }
Function : ApplyConfiguration
Description:
Will apply changes made to the configuration data.
Function : ApplyConfiguration Description : Will apply changes made to the configuration data .
// Need to have a parser! // If access mode is READ only, we're not suposed to write any existing  // configuration data. // Apply the changes to disk.