ct_common  1.0.1
Common library for combinatorial testing
src/ct_common/common/paramspec_int.h
Go to the documentation of this file.
00001 //===----- ct_common/common/paramspec_int.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 int parameter specifications
00010 //
00011 //===----------------------------------------------------------------------===//
00012 
00013 #ifndef CT_COMMON_PARAMSPEC_INT_H_
00014 #define CT_COMMON_PARAMSPEC_INT_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_Int : public ParamSpec
00025 {
00026 public:
00027   ParamSpec_Int(void);
00028   ParamSpec_Int(const ParamSpec_Int &from);
00029   ParamSpec_Int &operator = (const ParamSpec_Int &right);
00030   virtual ~ParamSpec_Int(void);
00031 
00032   virtual void set_values(const std::vector<std::string> &string_values);
00033   const std::vector<int> &get_int_values(void) const { return this->int_values_; }
00034 
00035   virtual std::string get_class_name(void) const;
00036   static std::string class_name(void);
00037 
00038 private:
00039   std::vector<int> int_values_;   
00041 };
00042 }  // namespace common
00043 }  // namespace ct
00044 
00045 #endif  // CT_COMMON_PARAMSPEC_INT_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines