gogoc-config/src/haccessdevicemappingconfig.cc
bool HACCESSDeviceMappingConfig::GetDeviceList( t_stringmap& aDeviceMap ) const
{
  stringlist nameList;
  stringlist::const_iterator iter;
  string sValue;

  m_pConfig->GetVariableNameList( nameList );

  for( iter=nameList.begin(); iter != nameList.end() ; iter++ )
  {
    m_pConfig->GetVariableValue( *iter, sValue );
    aDeviceMap[ *iter ] = sValue;
  }

  return true;
}
// --------------------------------------------------------------------------
// Function : GetDeviceList
//
// Description:
//   Will retrieve a list of device names and their associated address that 
//   are present in the HACCESS Device Mapping configuration file.
//
// Arguments: (none)
//
// Return values:
//   true if device mapping was successfully extracted.
//
// Exceptions: (none)
//
// --------------------------------------------------------------------------
Function : GetDeviceList
Description:
Will retrieve a list of device names and their associated address that
are present in the HACCESS Device Mapping configuration file.

(none)

Return values:
true if device mapping was successfully extracted.

(none)
Function : GetDeviceList Description : Will retrieve a list of device names and their associated address that are present in the HACCESS Device Mapping configuration file . ( none ) Return values : true if device mapping was successfully extracted . ( none )
bool HACCESSDeviceMappingConfig::GetDeviceList( t_stringmap& aDeviceMap ) const
{
  stringlist nameList;
  stringlist::const_iterator iter;
  string sValue;
  m_pConfig->GetVariableNameList( nameList );
  for( iter=nameList.begin(); iter != nameList.end() ; iter++ )
  {
    m_pConfig->GetVariableValue( *iter, sValue );
    aDeviceMap[ *iter ] = sValue;
  }
  return true;
}
bool HACCESSDeviceMappingConfig :: GetDeviceList ( t_stringmap & aDeviceMap ) const { stringlist nameList ; stringlist :: const_iterator iter ; string sValue ; m_pConfig -> GetVariableNameList ( nameList ) ; for ( iter = nameList . begin ( ) ; iter != nameList . end ( ) ; iter ++ ) { m_pConfig -> GetVariableValue ( * iter , sValue ) ; aDeviceMap [ * iter ] = sValue ; } return true ; }
Function : GetDeviceList
Description:
Will retrieve a list of device names and their associated address that
are present in the HACCESS Device Mapping configuration file.
Function : GetDeviceList Description : Will retrieve a list of device names and their associated address that are present in the HACCESS Device Mapping configuration file .