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_CInt Class Reference

#include <exp_a_cint.h>

Inheritance diagram for ct::common::Exp_A_CInt:
ct::common::Exp_A_Atom ct::common::Exp_A ct::common::Exp ct::common::TreeNode

List of all members.

Public Member Functions

 Exp_A_CInt (void)
 Exp_A_CInt (const Exp_A_CInt &from)
Exp_A_CIntoperator= (const Exp_A_CInt &right)
virtual ~Exp_A_CInt (void)
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 void set_value (int value)
virtual void set_value (double value)
void set_str_value (const std::string &str_value)
int get_value (void) const
virtual const std::string & get_str_value (void) const

Static Public Member Functions

static std::string class_name (void)

Detailed Description

The class for constant int arithmetic expressions

Definition at line 24 of file exp_a_cint.h.


Constructor & Destructor Documentation

Definition at line 17 of file exp_a_cint.cpp.

Definition at line 21 of file exp_a_cint.cpp.

Exp_A_CInt::~Exp_A_CInt ( void  ) [virtual]

Definition at line 32 of file exp_a_cint.cpp.


Member Function Documentation

std::string Exp_A_CInt::class_name ( void  ) [static]

TODO: replace by typeid

Reimplemented from ct::common::Exp_A_Atom.

Definition at line 57 of file exp_a_cint.cpp.

void Exp_A_CInt::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 69 of file exp_a_cint.cpp.

std::string Exp_A_CInt::get_class_name ( void  ) const [virtual]

TODO: replace by typeid

Reimplemented from ct::common::Exp_A_Atom.

Definition at line 53 of file exp_a_cint.cpp.

const std::string & Exp_A_CInt::get_str_value ( void  ) const [virtual]

Setting the string value (preserve a copy of the original string representation)

Reimplemented from ct::common::TreeNode.

Definition at line 65 of file exp_a_cint.cpp.

int ct::common::Exp_A_CInt::get_value ( void  ) const [inline]

Getting the value

Definition at line 45 of file exp_a_cint.h.

Exp_A_CInt & Exp_A_CInt::operator= ( const Exp_A_CInt right)

Definition at line 25 of file exp_a_cint.cpp.

void Exp_A_CInt::set_str_value ( const std::string &  str_value)

Setting the string value (preserve a copy of the original string representation)

Definition at line 61 of file exp_a_cint.cpp.

void Exp_A_CInt::set_value ( int  value) [virtual]

Setting the value

Definition at line 35 of file exp_a_cint.cpp.

void Exp_A_CInt::set_value ( double  value) [virtual]

Setting the value

Definition at line 39 of file exp_a_cint.cpp.


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