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

#include <NodeRelation.h>

Inheritance diagram for NodeRelation:
Inheritance graph
Collaboration diagram for NodeRelation:
Collaboration graph

Public Member Functions

 NodeRelation ()
 
SuccessorNodeget_successor () const
 
PredecessorNodeget_predecessor () const
 
void set_successor (SuccessorNode *succ)
 
void set_predecessor (PredecessorNode *pred)
 
void set_line (const PolyLine &line)
 
const PolyLineget_line () const
 
- Public Member Functions inherited from MscElementTmpl< NodeRelation >
int get_visual_style () const
 
void set_visual_style (int visual_style)
 
MscElementget_general_original () const
 See MscElementTmpl for details about attribute original. More...
 
void set_general_original (MscElement *original)
 See MscElementTmpl for details about attribute original. More...
 
NodeRelationget_original () const
 
void set_original (NodeRelation *e)
 
void set_original (boost::intrusive_ptr< NodeRelation > &e)
 
virtual ~MscElementTmpl ()
 
- Public Member Functions inherited from MscElement
bool is_attribute_set (const std::string &name) const
 Finds out whether attribute with specified name is set or not. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def, bool &status)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
void set_attribute (const std::string &name, const T &val)
 Sets dynamic attribute of MscElement. More...
 
template<class T >
void remove_attribute (const std::string &name)
 Removes attribute of MscElement. More...
 
std::set< std::stringget_attribute_names () const
 List all attributes of MscElement. More...
 
enum MarkType get_marked () const
 
void set_marked (enum MarkType marked=MARKED)
 
MscColor get_color () const
 
void set_color (MscColor color)
 
void clear_color ()
 
virtual ~MscElement ()
 

Protected Attributes

PolyLine m_line
 
SuccessorNodem_successor
 
PredecessorNodem_predecessor
 
- Protected Attributes inherited from MscElementTmpl< NodeRelation >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr
< NodeRelation
m_original
 Pointer to original version of MscElement. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MscElementTmpl< NodeRelation >
 MscElementTmpl ()
 
 MscElementTmpl (NodeRelation *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 

Detailed Description

Definition at line 22 of file NodeRelation.h.

Constructor & Destructor Documentation

NodeRelation::NodeRelation ( )
inline

Definition at line 33 of file NodeRelation.h.

Member Function Documentation

const PolyLine & NodeRelation::get_line ( ) const
PredecessorNode* NodeRelation::get_predecessor ( ) const
inline

Definition at line 44 of file NodeRelation.h.

SuccessorNode* NodeRelation::get_successor ( ) const
inline

Definition at line 39 of file NodeRelation.h.

void NodeRelation::set_line ( const PolyLine line)

Definition at line 33 of file NodeRelation.cpp.

References m_line.

Referenced by CDrawingExtractor::extract_hmsc().

void NodeRelation::set_predecessor ( PredecessorNode pred)

Set the predecessor. Connects to a given PredecessorNode and re-configures its back pointer.

Definition at line 27 of file NodeRelation.cpp.

References m_predecessor, and PredecessorNode::m_successors.

void NodeRelation::set_successor ( SuccessorNode succ)

Set the successor. Connects to a given SuccessorNode and re-configures its back pointer.

Definition at line 21 of file NodeRelation.cpp.

References SuccessorNode::m_predecessors, and m_successor.

Member Data Documentation

PolyLine NodeRelation::m_line
protected

Definition at line 26 of file NodeRelation.h.

Referenced by get_line(), and set_line().

PredecessorNode* NodeRelation::m_predecessor
protected

Definition at line 29 of file NodeRelation.h.

Referenced by set_predecessor().

SuccessorNode* NodeRelation::m_successor
protected

Definition at line 28 of file NodeRelation.h.

Referenced by set_successor().


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