1 #pragma once 2 3 #include <map> 4 #include <set> 5 #include <string> 6 7 class SensorSet 8 { 9 public: 10 typedef std::map<std::pair<std::string, std::string>, 11 std::set<std::string>> container_t; 12 13 SensorSet(const std::string& path); 14 15 container_t::const_iterator begin() 16 { 17 return const_cast<const container_t&>(container).begin(); 18 } 19 20 container_t::const_iterator end() 21 { 22 return const_cast<const container_t&>(container).end(); 23 } 24 25 private: 26 container_t container; 27 28 }; 29 30 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 31