ct_common
1.0.1
Common library for combinatorial testing
|
#include <exp_s_param.h>
Public Member Functions | |
Exp_S_Param (void) | |
Exp_S_Param (const Exp_S_Param &from) | |
Exp_S_Param & | operator= (const Exp_S_Param &right) |
virtual | ~Exp_S_Param (void) |
virtual std::string | get_class_name (void) const |
virtual void | dump (std::ostream &os, const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs) const |
virtual void | inner_touch_leaf_pids (const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs, std::set< std::size_t > &pids_to_touch) const |
void | set_pid (std::size_t pid) |
std::size_t | get_pid (void) const |
virtual EvalType_String | Evaluate (const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs, const Assignment &assignment) const |
Static Public Member Functions | |
static std::string | class_name (void) |
Definition at line 21 of file exp_s_param.h.
Exp_S_Param::Exp_S_Param | ( | void | ) |
Definition at line 20 of file exp_s_param.cpp.
Exp_S_Param::Exp_S_Param | ( | const Exp_S_Param & | from | ) |
Definition at line 24 of file exp_s_param.cpp.
Exp_S_Param::~Exp_S_Param | ( | void | ) | [virtual] |
Definition at line 34 of file exp_s_param.cpp.
std::string Exp_S_Param::class_name | ( | void | ) | [static] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_S_Atom.
Definition at line 82 of file exp_s_param.cpp.
void Exp_S_Param::dump | ( | std::ostream & | os, |
const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs | ||
) | const [virtual] |
Print the tree node to a given output stream
Implements ct::common::TreeNode.
Definition at line 99 of file exp_s_param.cpp.
EvalType_String Exp_S_Param::Evaluate | ( | const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs, |
const Assignment & | assignment | ||
) | const [virtual] |
Function for evaluating the expression
Implements ct::common::Exp_S.
Definition at line 37 of file exp_s_param.cpp.
std::string Exp_S_Param::get_class_name | ( | void | ) | const [virtual] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_S_Atom.
Definition at line 78 of file exp_s_param.cpp.
std::size_t ct::common::Exp_S_Param::get_pid | ( | void | ) | const [inline] |
Definition at line 38 of file exp_s_param.h.
void Exp_S_Param::inner_touch_leaf_pids | ( | const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs, |
std::set< std::size_t > & | pids_to_touch | ||
) | const [virtual] |
Inner function to get all related parameters
Reimplemented from ct::common::TreeNode.
Definition at line 86 of file exp_s_param.cpp.
Exp_S_Param & Exp_S_Param::operator= | ( | const Exp_S_Param & | right | ) |
Definition at line 28 of file exp_s_param.cpp.
void ct::common::Exp_S_Param::set_pid | ( | std::size_t | pid | ) | [inline] |
Definition at line 37 of file exp_s_param.h.