00001 #ifndef TrigConf_PrioritySet
00002 #define TrigConf_PrioritySet
00003
00004
00005 #include <string>
00006 #include <vector>
00007 #include "TrigConfL1Data/L1DataBaseclass.h"
00008
00009 namespace TrigConf {
00010 class PrioritySet : public L1DataBaseclass {
00011
00012 public:
00013
00014 static const unsigned int N_PRIORITIES = 256;
00015
00016 PrioritySet();
00017 ~PrioritySet();
00018
00019
00020 const std::vector<std::string>& priorities() const { return m_Priorities; }
00021 void setPriorities( const std::string p[], const unsigned int size);
00022 void setPriorities(const std::vector<std::string>& vec);
00023
00024 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00025
00026 virtual void writeXML(std::ostream & xmlfile, int indentLevel = 0, int indentWidth = 2) const;
00027
00028 private:
00029 std::vector<std::string> m_Priorities;
00030 };
00031 }
00032 #endif
00033