00001
00002 #ifndef TRIGNAVSTRUCTURE_IHOLDERFACTORY
00003 #define TRIGNAVSTRUCTURE_IHOLDERFACTORY
00004
00005 #include "TrigNavStructure/Types.h"
00006
00007 namespace HLT {
00008 class BaseHolder;
00009 struct ITrigHolderFactory {
00010 virtual BaseHolder* fromSerialized(int version, const std::vector<uint32_t>::const_iterator& start, const std::vector<uint32_t>::const_iterator& end) = 0;
00011 virtual BaseHolder* createHolder(class_id_type clid, const std::string& label, sub_index_type index) = 0;
00012 };
00013 }
00014 #endif