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::Constraint_S_Binary Class Reference

#include <constraint_s_binary.h>

Inheritance diagram for ct::common::Constraint_S_Binary:
ct::common::Constraint_S ct::common::Constraint ct::common::TreeNode ct::common::Constraint_S_EQ ct::common::Constraint_S_NE

List of all members.

Public Member Functions

 Constraint_S_Binary (void)
 Constraint_S_Binary (const Constraint_S_Binary &from)
Constraint_S_Binaryoperator= (const Constraint_S_Binary &right)
virtual ~Constraint_S_Binary (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 std::string get_op_token (void) const =0
boost::shared_ptr< const Exp_Sget_loprd (void) const
boost::shared_ptr< const Exp_Sget_roprd (void) const
void set_loprd (const boost::shared_ptr< TreeNode > &loprd)
void set_roprd (const boost::shared_ptr< TreeNode > &roprd)
virtual EvalType_Bool Evaluate (const std::vector< boost::shared_ptr< ParamSpec > > &param_specs, const Assignment &assignment) const

Static Public Member Functions

static std::string class_name (void)

Detailed Description

Base class for binary string constraints

Definition at line 26 of file constraint_s_binary.h.


Constructor & Destructor Documentation

Definition at line 19 of file constraint_s_binary.cpp.

Definition at line 24 of file constraint_s_binary.cpp.

Definition at line 34 of file constraint_s_binary.cpp.


Member Function Documentation

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

TODO: replace by typeid

Reimplemented from ct::common::Constraint_S.

Reimplemented in ct::common::Constraint_S_EQ, and ct::common::Constraint_S_NE.

Definition at line 41 of file constraint_s_binary.cpp.

void Constraint_S_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 57 of file constraint_s_binary.cpp.

EvalType_Bool Constraint_S_Binary::Evaluate ( const std::vector< boost::shared_ptr< ParamSpec > > &  param_specs,
const Assignment assignment 
) const [virtual]

Whether the constraint is satisfied

Implements ct::common::Constraint.

Definition at line 45 of file constraint_s_binary.cpp.

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

TODO: replace by typeid

Reimplemented from ct::common::Constraint_S.

Reimplemented in ct::common::Constraint_S_EQ, and ct::common::Constraint_S_NE.

Definition at line 37 of file constraint_s_binary.cpp.

boost::shared_ptr<const Exp_S> ct::common::Constraint_S_Binary::get_loprd ( void  ) const [inline]

Definition at line 39 of file constraint_s_binary.h.

virtual std::string ct::common::Constraint_S_Binary::get_op_token ( void  ) const [pure virtual]

Get the corresponding string token

Implemented in ct::common::Constraint_S_EQ, and ct::common::Constraint_S_NE.

boost::shared_ptr<const Exp_S> ct::common::Constraint_S_Binary::get_roprd ( void  ) const [inline]

Definition at line 40 of file constraint_s_binary.h.

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

Definition at line 28 of file constraint_s_binary.cpp.

void ct::common::Constraint_S_Binary::set_loprd ( const boost::shared_ptr< TreeNode > &  loprd) [inline]

Definition at line 42 of file constraint_s_binary.h.

void ct::common::Constraint_S_Binary::set_roprd ( const boost::shared_ptr< TreeNode > &  roprd) [inline]

Definition at line 43 of file constraint_s_binary.h.


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