Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | Friends | List of all members
PredecessorNode Class Reference

#include <PredecessorNode.h>

Inheritance diagram for PredecessorNode:
Inheritance graph
Collaboration diagram for PredecessorNode:
Collaboration graph

Public Member Functions

 PredecessorNode ()
 
virtual ~PredecessorNode ()
 
const NodeRelationPtrVectorget_successors () const
 
NodeRelationPtr add_successor (SuccessorNode *succ)
 
void remove_successor (const NodeRelationPtr &n)
 
void remove_successors ()
 
bool has_successors () const
 

Protected Attributes

NodeRelationPtrVector m_successors
 Succesors of the PredecessorNode. More...
 

Friends

class NodeRelation
 
class SuccessorNode
 

Detailed Description

Definition at line 22 of file PredecessorNode.h.

Constructor & Destructor Documentation

PredecessorNode::PredecessorNode ( )
inline

Definition at line 32 of file PredecessorNode.h.

virtual PredecessorNode::~PredecessorNode ( )
inlinevirtual

Definition at line 36 of file PredecessorNode.h.

Member Function Documentation

NodeRelationPtr PredecessorNode::add_successor ( SuccessorNode succ)
inline
const NodeRelationPtrVector& PredecessorNode::get_successors ( ) const
inline
bool PredecessorNode::has_successors ( ) const
inline

Returns true iff node has any successors

Definition at line 71 of file PredecessorNode.h.

void PredecessorNode::remove_successor ( const NodeRelationPtr n)

Removes successor.

Definition at line 21 of file PredecessorNode.cpp.

References m_successors.

void PredecessorNode::remove_successors ( )

Definition at line 33 of file PredecessorNode.cpp.

References m_successors.

Referenced by HMsc::remove_node().

Friends And Related Function Documentation

friend class NodeRelation
friend

Definition at line 76 of file PredecessorNode.h.

friend class SuccessorNode
friend

Definition at line 77 of file PredecessorNode.h.

Member Data Documentation

NodeRelationPtrVector PredecessorNode::m_successors
protected

Succesors of the PredecessorNode.

Definition at line 28 of file PredecessorNode.h.

Referenced by remove_successor(), remove_successors(), and NodeRelation::set_predecessor().


The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen