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

CCM::TransitionNode Class Reference

Inheritance diagram for CCM::TransitionNode:

CCM::Node CCM::MethodCallNode CCM::ValueInNode CCM::ValueOutNode List of all members.

Detailed Description

Represents a generic transition node.

Must not (and can not) be instantiated directly, use a concrete subclass instead. This class just encapsulates common fields for all transition types.


Public Member Functions

 TransitionNode (string field, string prop, Object value)
 Create an abstract transition that refers to the given stub property and value.

string getField ()
 Return the stub field name.

string getProp ()
 Return the stub property/method name.

Object getValue ()
 Return the stub property/method return value.

override string ccmb ()
 Generate a CCMB notation of this node and all its successors (i. e. its transitive alternatives).

override string prolog ()
 Generate a Prolog notation of this node and all its successors (i. e. its transitive alternatives).

abstract string ToPrologString ()

Protected Attributes

string field
string prop
Object value


Constructor & Destructor Documentation

CCM::TransitionNode::TransitionNode string  field,
string  prop,
Object  value
 

Create an abstract transition that refers to the given stub property and value.

Parameters:
field Name of the object of this stub (object field)
prop Stub property/method name
value Stub property value/method return value


Member Function Documentation

override string CCM::TransitionNode::ccmb  )  [virtual]
 

Generate a CCMB notation of this node and all its successors (i. e. its transitive alternatives).

Reimplemented from CCM::Node.

string CCM::TransitionNode::getField  ) 
 

Return the stub field name.

string CCM::TransitionNode::getProp  ) 
 

Return the stub property/method name.

Object CCM::TransitionNode::getValue  ) 
 

Return the stub property/method return value.

override string CCM::TransitionNode::prolog  )  [virtual]
 

Generate a Prolog notation of this node and all its successors (i. e. its transitive alternatives).

Reimplemented from CCM::Node.

abstract string CCM::TransitionNode::ToPrologString  )  [pure virtual]
 

Implemented in CCM::ValueInNode, CCM::ValueOutNode, and CCM::MethodCallNode.


Member Data Documentation

string CCM::TransitionNode::field [protected]
 

string CCM::TransitionNode::prop [protected]
 

Object CCM::TransitionNode::value [protected]
 


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