ct_common
1.0.1
Common library for combinatorial testing
|
#include <assignment.h>
Public Member Functions | |
Assignment (void) | |
Assignment (const Assignment &from) | |
Assignment & | operator= (const Assignment &right) |
virtual | ~Assignment (void)=0 |
virtual bool | IsContainParam (std::size_t pid) const =0 |
virtual std::size_t | GetValue (std::size_t pid) const =0 |
virtual bool | IsSubAssignmentOf (const Assignment &assignment) const =0 |
Base class for parameter assignments
Definition at line 25 of file assignment.h.
Assignment::Assignment | ( | void | ) |
Definition at line 17 of file assignment.cpp.
Assignment::Assignment | ( | const Assignment & | from | ) |
Definition at line 20 of file assignment.cpp.
Assignment::~Assignment | ( | void | ) | [pure virtual] |
Definition at line 23 of file assignment.cpp.
virtual std::size_t ct::common::Assignment::GetValue | ( | std::size_t | pid | ) | const [pure virtual] |
return the value for the given pid
Implemented in ct::common::Tuple, and ct::common::TestCase.
virtual bool ct::common::Assignment::IsContainParam | ( | std::size_t | pid | ) | const [pure virtual] |
whether the assignment contains a parameter
Implemented in ct::common::Tuple, and ct::common::TestCase.
virtual bool ct::common::Assignment::IsSubAssignmentOf | ( | const Assignment & | assignment | ) | const [pure virtual] |
check the assignment is a sub-assignment of another one
Implemented in ct::common::Tuple, and ct::common::TestCase.
Assignment & Assignment::operator= | ( | const Assignment & | right | ) |
Definition at line 26 of file assignment.cpp.