Go to the documentation of this file.00001 #ifndef DATAMAPS_H_
00002 #define DATAMAPS_H_
00003
00004 #include <stdint.h>
00005 #include <map>
00006 #include <utility>
00007 #include <string>
00008 #include <boost/shared_ptr.hpp>
00009 #include <boost/make_shared.hpp>
00010 #include <boost/variant.hpp>
00011
00012 typedef std::map< std::string, std::string > FileMap;
00013 typedef std::map<std::string, std::pair<std::string, std::string> > FileNodeMap;
00014 typedef std::map<std::string, std::vector< std::pair<std::string, std::string> > > FileNodeVectorMap;
00015
00016 typedef std::map< std::string, uint8_t > TokenMap;
00017 typedef boost::shared_ptr<TokenMap> TokenMapPtr;
00018
00019 typedef std::map< std::string, float > CoeffMap;
00020 typedef boost::shared_ptr<CoeffMap> CoeffMapPtr;
00021
00022 typedef std::map< uint32_t, uint32_t > LutMap;
00023 typedef boost::shared_ptr<LutMap> LutMapPtr;
00024
00025 typedef boost::variant<int, double, std::string, bool> ParamT;
00026 typedef std::map< std::string, ParamT> ParamMap;
00027 typedef boost::shared_ptr<ParamMap> ParamMapPtr;
00028
00029 #endif