00001 #ifndef SIO_SIOVERTEXHANDLER_H
00002 #define SIO_SIOVERTEXHANDLER_H 1
00003
00004 #include "SIO/SIOObjectHandler.h"
00005
00006 #include "EVENT/LCParameters.h"
00007
00008 #include <map>
00009 #include <set>
00010 #include <string>
00011
00012 namespace SIO {
00013
00014
00021 class SIOVertexHandler : public SIOObjectHandler {
00022
00023 public:
00024
00025 virtual ~SIOVertexHandler() ;
00026
00027 virtual unsigned int init( SIO_stream* stream,
00028 SIO_operation op,
00029 EVENT::LCCollection* col,
00030 unsigned int vers ) ;
00031
00034 virtual unsigned int read(SIO_stream* stream, EVENT::LCObject** objP) ;
00035
00038 virtual unsigned int write(SIO_stream* stream, const EVENT::LCObject* obj) ;
00039
00040 protected:
00041 std::map<int,std::string> imr{};
00042 std::set<std::string> _set{};
00043 EVENT::StringVec parameters{};
00044
00045 };
00046 }
00047
00048 #endif