GatherAssocs.h

Go to the documentation of this file.
00001 #ifndef ATLFAST_GATHERASSOCS_H
00002 #define ATLFAST_GATHERASSOCS_H
00003 
00004 #ifndef ATLFAST_IAOO_H
00005 #include "AtlfastEvent/IAOO.h"
00006 #endif
00007 
00008 #ifndef STD_ALGORITHM_H
00009 #include <algorithm>
00010 #define STD_ALGORITHM_H
00011 #endif
00012 
00013 namespace Atlfast{
00014 
00018   class GatherAssocs{
00019   public:
00021     void operator()(const IAOO* iaoo){
00022       m_iaoo.insert( m_iaoo.end(), iaoo->begin(), iaoo->end());
00023     }
00024     
00026     std::vector<const IAOO*>::iterator  begin() { return m_iaoo.begin();}
00028     std::vector<const IAOO*>::iterator  end()   { return m_iaoo.end();}
00029 
00030   private:
00032     std::vector<const IAOO*> m_iaoo;
00033   };
00034 }
00035 #endif
00036 

Generated on Mon Sep 24 14:19:10 2007 for AtlfastAlgs by  doxygen 1.5.1