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

CCM::StubIterator::StubCallState Class Reference

List of all members.

Detailed Description

Stores the iteration state of a particular stub call.

See also:
transitionState

stubCalls


Public Member Functions

 StubCallState (Ref r, List args)
 Create state for given stub method reference and arguments.

bool MoveNext ()
 Move to next alternative method return value.

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

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

override string ToString ()

Properties

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


Private Attributes

Ref r
List args
IEnumerator range
bool added
Node branch


Constructor & Destructor Documentation

CCM::StubIterator::StubCallState::StubCallState Ref  r,
List  args
 

Create state for given stub method reference and arguments.


Member Function Documentation

void CCM::StubIterator::StubCallState::execute  ) 
 

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

Object CCM::StubIterator::StubCallState::getKey  ) 
 

Return the key value for the stubCalls hashtable.

See also:
stubCalls

bool CCM::StubIterator::StubCallState::MoveNext  ) 
 

Move to next alternative method return value.

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

override string CCM::StubIterator::StubCallState::ToString  ) 
 


Member Data Documentation

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

List CCM::StubIterator::StubCallState::args [private]
 

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

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

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


Property Documentation

Object CCM::StubIterator::StubCallState::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