ct_common
1.0.1
Common library for combinatorial testing
|
00001 //===----- ct_common/common/paramspec_double.h ------------------*- C++ -*-===// 00002 // 00003 // The ct_common Library 00004 // 00005 // This file is distributed under the MIT license. See LICENSE for details. 00006 // 00007 //===----------------------------------------------------------------------===// 00008 // 00009 // This header file contains the class for double parameter specifiations 00010 // 00011 //===----------------------------------------------------------------------===// 00012 00013 #ifndef CT_COMMON_PARAMSPEC_DOUBLE_H_ 00014 #define CT_COMMON_PARAMSPEC_DOUBLE_H_ 00015 00016 #include <ct_common/common/utils.h> 00017 #include <ct_common/common/paramspec.h> 00018 00019 namespace ct { 00020 namespace common { 00024 class DLL_EXPORT ParamSpec_Double : public ParamSpec 00025 { 00026 public: 00027 ParamSpec_Double(void); 00028 ParamSpec_Double(const ParamSpec_Double &from); 00029 ParamSpec_Double &operator = (const ParamSpec_Double &right); 00030 virtual ~ParamSpec_Double(void); 00031 00032 virtual void set_values(const std::vector<std::string> &values); 00033 const std::vector<double> &get_double_values(void) const { return this->double_values_; } 00034 00035 virtual std::string get_class_name(void) const; 00036 static std::string class_name(void); 00037 00038 private: 00039 std::vector<double> double_values_; 00041 }; 00042 } // namespace common 00043 } // namespace ct 00044 00045 #endif // CT_COMMON_PARAMSPEC_DOUBLE_H_