Generic hardware access library
/home/cschwick/hal/generic/src/common/StaticVMEConfiguration.cc
Go to the documentation of this file.
00001 #include "hal/StaticVMEConfiguration.hh"
00002 
00003 HAL::StaticVMEConfiguration::StaticVMEConfiguration( HAL::StaticVMEConfigurationReader& reader ) {
00004   HAL::StaticVMEItem *nextItem;
00005   while ( reader.next( &nextItem ) ) {
00006     staticVMEItemList_.push_back( nextItem );
00007   }
00008 }
00009 
00010 HAL::StaticVMEConfiguration::~StaticVMEConfiguration( ) {
00011   std::list< HAL::StaticVMEItem* >::iterator it;
00012   for ( it = staticVMEItemList_.begin(); 
00013         it != staticVMEItemList_.end(); 
00014         it++ ) {
00015     delete *it;
00016   }
00017 }
00018 
00019 std::list< HAL::StaticVMEItem* >::const_iterator HAL::StaticVMEConfiguration::getListBegin() const {
00020   return staticVMEItemList_.begin();
00021 }
00022 
00023 std::list< HAL::StaticVMEItem* >::const_iterator HAL::StaticVMEConfiguration::getListEnd() const {
00024   return staticVMEItemList_.end();
00025 }