Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

CCM::StubIterator::StubInputState Class Reference

List of all members.

Detailed Description

Stores the iteration state of a particular stub input.

See also:
transitionState

stubInputs


Public Member Functions

 StubInputState (Ref r)
 Create state for given stub input reference.

bool MoveNext ()
 Move to next alternative input value.

void execute ()
 Add a ValueInNode to the process if none with the current value already exists.

Object getKey ()
 Return the key value for the stubInputs hashtable.

override string ToString ()

Properties

Object Current
 Return current input value; undefined if MoveNext() returned false.


Private Attributes

Ref r
IEnumerator range
bool added
Node branch


Constructor & Destructor Documentation

CCM::StubIterator::StubInputState::StubInputState Ref  r  ) 
 

Create state for given stub input reference.


Member Function Documentation

void CCM::StubIterator::StubInputState::execute  ) 
 

Add a ValueInNode to the process if none with the current value already exists.

Object CCM::StubIterator::StubInputState::getKey  ) 
 

Return the key value for the stubInputs hashtable.

See also:
stubInputs

bool CCM::StubIterator::StubInputState::MoveNext  ) 
 

Move to next alternative input value.

Returns:
true if there are more values, false if last value was already processed

override string CCM::StubIterator::StubInputState::ToString  ) 
 


Member Data Documentation

bool CCM::StubIterator::StubInputState::added [private]
 

Node CCM::StubIterator::StubInputState::branch [private]
 

Ref CCM::StubIterator::StubInputState::r [private]
 

IEnumerator CCM::StubIterator::StubInputState::range [private]
 


Property Documentation

Object CCM::StubIterator::StubInputState::Current [get]
 

Return current input value; undefined if MoveNext() returned false.


The documentation for this class was generated from the following file:
Generated on Mon Jun 21 01:20:50 2004 for cs2ccmb by doxygen 1.3.7