ct_common
1.0.1
Common library for combinatorial testing
|
#include <exp_a_unary.h>
Public Member Functions | |
Exp_A_Unary (void) | |
Exp_A_Unary (const Exp_A_Unary &from) | |
Exp_A_Unary & | operator= (const Exp_A_Unary &right) |
virtual | ~Exp_A_Unary (void)=0 |
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 std::string | get_op_token (void) const =0 |
boost::shared_ptr< const Exp_A > | get_oprd (void) const |
void | set_oprd (const boost::shared_ptr< TreeNode > &oprd) |
Static Public Member Functions | |
static std::string | class_name (void) |
The base class for unary expressions
Definition at line 25 of file exp_a_unary.h.
Exp_A_Unary::Exp_A_Unary | ( | void | ) |
Definition at line 17 of file exp_a_unary.cpp.
Exp_A_Unary::Exp_A_Unary | ( | const Exp_A_Unary & | from | ) |
Definition at line 22 of file exp_a_unary.cpp.
Exp_A_Unary::~Exp_A_Unary | ( | void | ) | [pure virtual] |
Definition at line 31 of file exp_a_unary.cpp.
std::string Exp_A_Unary::class_name | ( | void | ) | [static] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_A.
Reimplemented in ct::common::Exp_A_Cast, and ct::common::Exp_A_Neg.
Definition at line 38 of file exp_a_unary.cpp.
void Exp_A_Unary::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.
Reimplemented in ct::common::Exp_A_Cast.
Definition at line 60 of file exp_a_unary.cpp.
std::string Exp_A_Unary::get_class_name | ( | void | ) | const [virtual] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_A.
Reimplemented in ct::common::Exp_A_Cast, and ct::common::Exp_A_Neg.
Definition at line 34 of file exp_a_unary.cpp.
virtual std::string ct::common::Exp_A_Unary::get_op_token | ( | void | ) | const [pure virtual] |
Get the corresponding string token
Implemented in ct::common::Exp_A_Cast, and ct::common::Exp_A_Neg.
boost::shared_ptr<const Exp_A> ct::common::Exp_A_Unary::get_oprd | ( | void | ) | const [inline] |
Definition at line 40 of file exp_a_unary.h.
Exp_A_Unary & Exp_A_Unary::operator= | ( | const Exp_A_Unary & | right | ) |
Definition at line 26 of file exp_a_unary.cpp.
void ct::common::Exp_A_Unary::set_oprd | ( | const boost::shared_ptr< TreeNode > & | oprd | ) | [inline] |
Definition at line 42 of file exp_a_unary.h.