ct_common  1.0.1
Common library for combinatorial testing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
ct::common::Exp_A_Binary Class Reference

#include <exp_a_binary.h>

Inheritance diagram for ct::common::Exp_A_Binary:
ct::common::Exp_A ct::common::Exp ct::common::TreeNode ct::common::Exp_A_Add ct::common::Exp_A_Div ct::common::Exp_A_Mod ct::common::Exp_A_Mult ct::common::Exp_A_Sub

List of all members.

Public Member Functions

 Exp_A_Binary (void)
 Exp_A_Binary (const Exp_A_Binary &from)
Exp_A_Binaryoperator= (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 > > &param_specs) const
virtual std::string get_op_token (void) const =0
boost::shared_ptr< const Exp_Aget_loprd (void) const
boost::shared_ptr< const Exp_Aget_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)

Detailed Description

Base class for binary arithmetic expressions

Definition at line 25 of file exp_a_binary.h.


Constructor & Destructor Documentation

Definition at line 18 of file exp_a_binary.cpp.

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.


Member Function Documentation

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]
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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines