00001 #ifndef PhysicsTFormulaPayload_h 00002 #define PhysicsTFormulaPayload_h 00003 00004 #include <string> 00005 #include <vector> 00006 00007 class PhysicsTFormulaPayload 00008 { 00009 public: 00010 PhysicsTFormulaPayload(){} 00011 PhysicsTFormulaPayload(const std::vector< std::pair<float, float> >& l, 00012 const std::vector<std::string>& f): limits_(l), formulas_(f){} 00013 const std::vector< std::pair<float, float> >& limits() const {return limits_;} 00014 const std::vector<std::string>& formulas() const {return formulas_;} 00015 protected: 00016 // internally it has to contains >= 1 formula and accordingly limits 00017 std::vector< std::pair<float, float> > limits_; 00018 std::vector<std::string> formulas_; 00019 00020 }; 00021 00022 #endif 00023