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

#include <seed.h>

Inheritance diagram for ct::common::Seed:
ct::common::Seed_Constraint ct::common::Seed_Tuple

List of all members.

Public Member Functions

 Seed (std::size_t sid=SID_BOUND, bool is_starter=false)
 Seed (const Seed &from)
Seedoperator= (const Seed &right)
virtual ~Seed (void)=0
virtual EvalType_Bool IsMatch (const Assignment &assignment, const std::vector< boost::shared_ptr< ParamSpec > > &paramspecs)=0
std::size_t get_id (void) const
void set_id (std::size_t id)
bool get_is_starter (void) const
void set_is_starter (bool is_starter)

Detailed Description

The class for seeds

Definition at line 28 of file seed.h.


Constructor & Destructor Documentation

Seed::Seed ( std::size_t  sid = SID_BOUND,
bool  is_starter = false 
)

Definition at line 17 of file seed.cpp.

Seed::Seed ( const Seed from)

Definition at line 21 of file seed.cpp.

Seed::~Seed ( void  ) [pure virtual]

Definition at line 25 of file seed.cpp.


Member Function Documentation

std::size_t ct::common::Seed::get_id ( void  ) const [inline]

Getting the seed id

Definition at line 40 of file seed.h.

bool ct::common::Seed::get_is_starter ( void  ) const [inline]

Whether the seed is a starter seed

Definition at line 44 of file seed.h.

EvalType_Bool Seed::IsMatch ( const Assignment assignment,
const std::vector< boost::shared_ptr< ParamSpec > > &  paramspecs 
) [pure virtual]

Whether a given assignment matches the seed

Implemented in ct::common::Seed_Constraint, and ct::common::Seed_Tuple.

Definition at line 34 of file seed.cpp.

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

Definition at line 28 of file seed.cpp.

void ct::common::Seed::set_id ( std::size_t  id) [inline]

Setting the seed id

Definition at line 42 of file seed.h.

void ct::common::Seed::set_is_starter ( bool  is_starter) [inline]

Setting the starter flag

Definition at line 46 of file seed.h.


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