ct_common
1.0.1
Common library for combinatorial testing
|
00001 //===----- ct_common/common/pvpair.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 parameter-value pairs 00010 // 00011 //===----------------------------------------------------------------------===// 00012 00013 #ifndef CT_COMMON_PVPAIR_H_ 00014 #define CT_COMMON_PVPAIR_H_ 00015 00016 #include <ct_common/common/utils.h> 00017 #include <ct_common/common/defs.h> 00018 00019 namespace ct { 00020 namespace common { 00024 class DLL_EXPORT PVPair 00025 { 00026 public: 00027 PVPair(std::size_t pid = PID_BOUND, std::size_t vid = VID_BOUND); 00028 PVPair(const PVPair&); 00029 PVPair &operator = (const PVPair &right); 00030 ~PVPair(void); 00031 00032 bool operator < (const PVPair &right) const; 00033 bool operator == (const PVPair &right) const; 00034 bool operator != (const PVPair &right) const; 00035 00036 public: 00037 std::size_t pid_; 00038 std::size_t vid_; 00039 }; 00040 } // namespace common 00041 } // namespace ct 00042 00043 #endif // CT_COMMON_PVPAIR_H_