ct_common
1.0.1
Common library for combinatorial testing
|
00001 //===----- ct_common/common/constraint.cpp ----------------------*- 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 file contains the function definitions of class Constraint 00010 // 00011 //===----------------------------------------------------------------------===// 00012 00013 #include <ct_common/common/constraint.h> 00014 00015 using namespace ct::common; 00016 00017 Constraint::Constraint(void) 00018 : TreeNode() { 00019 } 00020 00021 Constraint::Constraint(const Constraint &from) 00022 : TreeNode(from) { 00023 } 00024 00025 Constraint &Constraint::operator = (const Constraint &right) { 00026 TreeNode::operator = (right); 00027 return *this; 00028 } 00029 00030 Constraint::~Constraint(void) { 00031 } 00032 00033 std::string Constraint::get_class_name(void) const { 00034 return Constraint::class_name(); 00035 } 00036 00037 std::string Constraint::class_name(void) { 00038 return "Constraint"; 00039 } 00040 00041 EvalType_Bool Constraint::Evaluate(const std::vector<boost::shared_ptr<ParamSpec> > ¶m_specs, 00042 const Assignment &assignment) const { 00043 // never called 00044 return EvalType_Bool(false, false); 00045 }