ct_common
1.0.1
Common library for combinatorial testing
|
00001 //===----- ct_common/common/seed_tuple.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 Seed_Tuple 00010 // 00011 //===----------------------------------------------------------------------===// 00012 00013 #include <ct_common/common/seed_tuple.h> 00014 00015 using namespace ct::common; 00016 00017 Seed_Tuple::Seed_Tuple(void) 00018 : tuple_() { 00019 } 00020 00021 Seed_Tuple::Seed_Tuple(const Seed_Tuple &from) 00022 : tuple_(from.tuple_) { 00023 } 00024 00025 Seed_Tuple::~Seed_Tuple(void) { 00026 } 00027 00028 Seed_Tuple &Seed_Tuple::operator =(const ct::common::Seed_Tuple &right) { 00029 this->tuple_ = right.tuple_; 00030 return *this; 00031 } 00032 00033 EvalType_Bool Seed_Tuple::IsMatch(const Assignment &assignment, const std::vector<boost::shared_ptr<ParamSpec> > ¶mspecs) { 00034 return EvalType_Bool(this->tuple_.IsSubAssignmentOf(assignment), true); 00035 }