gogoc-config/src/config.cc
bool Config::LoadConfiguration( void )
{
  assert( m_pParser != NULL );    // Need to have a parser!
  
  // If access mode is CREATE, we're not suposed to load any existing 
  // configuration.
  if( m_eAccessMode == AM_CREATE )
  {
    throw GOGOC_UIS__CFG_CANNOTLOADWHENCREATE;
  }
  
  // Read configuration.
  // May throw exception if file doesn't exist.
  return m_pParser->ReadConfigurationData( m_sConfigFile );
}
// --------------------------------------------------------------------------
// Function : LoadConfiguration
//
// Description:
//   Will attempt to load the configuration data from the configuration file.
//   Operation specifics are delegated to the Parser object.
//
// Arguments: (none)
//
// Return values:
//   true if parser successfully parsed the configuration data, false 
//   otherwise.
//
// Exceptions:
//   - When access mode is incoherent with operation.
//   See Parser::ReadConfigurationData().
//
// --------------------------------------------------------------------------
Function : LoadConfiguration
Description:
Will attempt to load the configuration data from the configuration file.
Operation specifics are delegated to the Parser object.

(none)

Return values:
true if parser successfully parsed the configuration data, false
otherwise.

When access mode is incoherent with operation.
Function : LoadConfiguration Description : Will attempt to load the configuration data from the configuration file . Operation specifics are delegated to the Parser object . ( none ) Return values : true if parser successfully parsed the configuration data false otherwise . When access mode is incoherent with operation .
bool Config::LoadConfiguration( void )
{
  assert( m_pParser != NULL );    
  if( m_eAccessMode == AM_CREATE )
  {
    throw GOGOC_UIS__CFG_CANNOTLOADWHENCREATE;
  }
  return m_pParser->ReadConfigurationData( m_sConfigFile );
}
bool Config :: LoadConfiguration ( void ) { assert ( m_pParser != NULL ) ; if ( m_eAccessMode == AM_CREATE ) { throw GOGOC_UIS__CFG_CANNOTLOADWHENCREATE ; } return m_pParser -> ReadConfigurationData ( m_sConfigFile ) ; }
Function : LoadConfiguration
Description:
Will attempt to load the configuration data from the configuration file.
Function : LoadConfiguration Description : Will attempt to load the configuration data from the configuration file .
// Need to have a parser! // If access mode is CREATE, we're not suposed to load any existing  // configuration. // Read configuration. // May throw exception if file doesn't exist.