ct_common
1.0.1
Common library for combinatorial testing
|
#include <exp_s_cstring.h>
Public Member Functions | |
Exp_S_CString (void) | |
Exp_S_CString (const Exp_S_CString &from) | |
Exp_S_CString & | operator= (const Exp_S_CString &right) |
virtual | ~Exp_S_CString (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 |
void | set_value (const std::string &value) |
void | set_value (const char *value) |
const std::string & | get_value (void) const |
virtual const std::string & | get_str_value (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) |
The base class for constant string expressions
Definition at line 24 of file exp_s_cstring.h.
Exp_S_CString::Exp_S_CString | ( | void | ) |
Definition at line 17 of file exp_s_cstring.cpp.
Exp_S_CString::Exp_S_CString | ( | const Exp_S_CString & | from | ) |
Definition at line 21 of file exp_s_cstring.cpp.
Exp_S_CString::~Exp_S_CString | ( | void | ) | [virtual] |
Definition at line 31 of file exp_s_cstring.cpp.
std::string Exp_S_CString::class_name | ( | void | ) | [static] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_S_Atom.
Definition at line 47 of file exp_s_cstring.cpp.
void Exp_S_CString::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 51 of file exp_s_cstring.cpp.
EvalType_String Exp_S_CString::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 38 of file exp_s_cstring.cpp.
std::string Exp_S_CString::get_class_name | ( | void | ) | const [virtual] |
TODO: replace by typeid
Reimplemented from ct::common::Exp_S_Atom.
Definition at line 43 of file exp_s_cstring.cpp.
const std::string & Exp_S_CString::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 34 of file exp_s_cstring.cpp.
const std::string& ct::common::Exp_S_CString::get_value | ( | void | ) | const [inline] |
Getting the value
Definition at line 43 of file exp_s_cstring.h.
Exp_S_CString & Exp_S_CString::operator= | ( | const Exp_S_CString & | right | ) |
Definition at line 25 of file exp_s_cstring.cpp.
void ct::common::Exp_S_CString::set_value | ( | const std::string & | value | ) | [inline] |
Setting the value
Definition at line 38 of file exp_s_cstring.h.
void ct::common::Exp_S_CString::set_value | ( | const char * | value | ) | [inline] |
Setting the value
Definition at line 40 of file exp_s_cstring.h.