ct_common
1.0.1
Common library for combinatorial testing
|
#include <exp_a_binary.h>
Public Member Functions | |
Exp_A_Binary (void) | |
Exp_A_Binary (const Exp_A_Binary &from) | |
Exp_A_Binary & | operator= (const Exp_A_Binary &right) |
virtual | ~Exp_A_Binary (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_loprd (void) const |
boost::shared_ptr< const Exp_A > | get_roprd (void) const |
void | set_loprd (const boost::shared_ptr< TreeNode > &loprd) |
void | set_roprd (const boost::shared_ptr< TreeNode > &roprd) |
Static Public Member Functions | |
static std::string | class_name (void) |
Base class for binary arithmetic expressions
Definition at line 25 of file exp_a_binary.h.
Exp_A_Binary::Exp_A_Binary | ( | void | ) |
Definition at line 18 of file exp_a_binary.cpp.
Exp_A_Binary::Exp_A_Binary | ( | const Exp_A_Binary & | from | ) |
Definition at line 23 of file exp_a_binary.cpp.
Exp_A_Binary::~Exp_A_Binary | ( | void | ) | [pure virtual] |
Definition at line 32 of file exp_a_binary.cpp.
std::string Exp_A_Binary::class_name | ( | void | ) | [static] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_A.
Reimplemented in ct::common::Exp_A_Add, ct::common::Exp_A_Div, ct::common::Exp_A_Mod, ct::common::Exp_A_Mult, and ct::common::Exp_A_Sub.
Definition at line 39 of file exp_a_binary.cpp.
void Exp_A_Binary::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 93 of file exp_a_binary.cpp.
std::string Exp_A_Binary::get_class_name | ( | void | ) | const [virtual] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_A.
Reimplemented in ct::common::Exp_A_Add, ct::common::Exp_A_Div, ct::common::Exp_A_Mod, ct::common::Exp_A_Mult, and ct::common::Exp_A_Sub.
Definition at line 35 of file exp_a_binary.cpp.
boost::shared_ptr<const Exp_A> ct::common::Exp_A_Binary::get_loprd | ( | void | ) | const [inline] |
Definition at line 40 of file exp_a_binary.h.
virtual std::string ct::common::Exp_A_Binary::get_op_token | ( | void | ) | const [pure virtual] |
Get the corresponding string token
Implemented in ct::common::Exp_A_Add, ct::common::Exp_A_Div, ct::common::Exp_A_Mod, ct::common::Exp_A_Mult, and ct::common::Exp_A_Sub.
boost::shared_ptr<const Exp_A> ct::common::Exp_A_Binary::get_roprd | ( | void | ) | const [inline] |
Definition at line 41 of file exp_a_binary.h.
Exp_A_Binary & Exp_A_Binary::operator= | ( | const Exp_A_Binary & | right | ) |
Definition at line 27 of file exp_a_binary.cpp.
void ct::common::Exp_A_Binary::set_loprd | ( | const boost::shared_ptr< TreeNode > & | loprd | ) | [inline] |
Definition at line 43 of file exp_a_binary.h.
void ct::common::Exp_A_Binary::set_roprd | ( | const boost::shared_ptr< TreeNode > & | roprd | ) | [inline] |
Definition at line 44 of file exp_a_binary.h.