00001 00006 #ifndef __CMAPPLOTTABLE_HPP__ 00007 #define __CMAPPLOTTABLE_HPP__ 00008 00009 #include <map> 00010 #include <string> 00011 00012 #include <vector> 00013 00014 #include "Cvals.h" 00015 00016 //______________________________________________________________________________ 00028 class CMapPlottable 00029 { 00030 public: 00031 CMapPlottable(); 00032 ~CMapPlottable(); 00033 00034 Cvals * getSecond(const std::string & first); 00035 void printPlottableNames(); 00036 std::vector<std::string> getPlottableNames(); 00037 00038 private: 00039 static void createMap(); 00040 00041 static float getAge(const int & ipart); 00042 static float getPressure(const int & ipart); 00043 00049 static std::map<std::string, Cvals*> _vals_map; 00050 }; 00051 00052 #endif // __CMAPPLOTTABLE_HPP__