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

HMscNode which references either BMsc or HMsc. More...

#include <ReferenceNode.h>

Inheritance diagram for ReferenceNode:
Inheritance graph
Collaboration diagram for ReferenceNode:
Collaboration graph

Public Member Functions

 ReferenceNode ()
 
 ReferenceNode (ReferenceNode *original)
 
virtual ~ReferenceNode ()
 
const MscPtrget_msc () const
 
void set_msc (const MscPtr &msc)
 
HMscPtr get_hmsc () const
 Tries to overcast m_msc into HMscPtr. More...
 
BMscPtr get_bmsc () const
 Tries to overcast m_msc into BMscPtr. More...
 
void add_time_relation_top (TimeRelationRefNodePtr relation)
 
bool is_time_relation_top (const TimeRelationRefNodePtr &relation) const
 
void remove_time_relation_top (TimeRelationRefNodePtr relation)
 
void add_time_relation_bottom (TimeRelationRefNodePtr relation)
 
bool is_time_relation_bottom (const TimeRelationRefNodePtr &relation) const
 
void remove_time_relation_bottom (TimeRelationRefNodePtr relation)
 
const TimeRelationRefNodePtrSetget_time_relations_top () const
 
TimeRelationRefNodePtrSetget_time_relations_top ()
 
const TimeRelationRefNodePtrSetget_time_relations_bottom () const
 
TimeRelationRefNodePtrSetget_time_relations_bottom ()
 
- Public Member Functions inherited from HMscNode
HMscget_owner () const
 
void set_owner (HMsc *owner)
 
const MscPointget_position () const
 
void set_position (const MscPoint &position)
 
HMscNodePtr my_ptr ()
 
virtual ~HMscNode ()
 
- Public Member Functions inherited from MscElementTmpl< HMscNode >
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...
 
HMscNodeget_original () const
 
void set_original (HMscNode *e)
 
void set_original (boost::intrusive_ptr< HMscNode > &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 ()
 
- Public Member Functions inherited from Commentable
virtual ~Commentable ()
 
void add_comment (CommentPtr comment)
 
const CommentPtrSetget_comments () const
 
- Public Member Functions inherited from PredecessorNode
 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
 
- Public Member Functions inherited from SuccessorNode
 SuccessorNode ()
 
virtual ~SuccessorNode ()
 
const NodeRelationPtrVectorget_predecessors () const
 
NodeRelationPtr add_predecessor (PredecessorNode *pred)
 
void remove_predecessor (const NodeRelationPtr &n)
 
void remove_predecessors ()
 
bool has_predecessors () const
 

Private Attributes

MscPtr m_msc
 
TimeRelationRefNodePtrSet m_time_relation_set_top
 
TimeRelationRefNodePtrSet m_time_relation_set_bottom
 

Additional Inherited Members

- Protected Member Functions inherited from HMscNode
 HMscNode ()
 
 HMscNode (HMscNode *original)
 
- Protected Member Functions inherited from MscElementTmpl< HMscNode >
 MscElementTmpl ()
 
 MscElementTmpl (HMscNode *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 
- Protected Attributes inherited from HMscNode
HMscm_owner
 
- Protected Attributes inherited from MscElementTmpl< HMscNode >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr< HMscNodem_original
 Pointer to original version of MscElement. More...
 
- Protected Attributes inherited from Commentable
CommentPtrSet m_comments
 
- Protected Attributes inherited from PredecessorNode
NodeRelationPtrVector m_successors
 Succesors of the PredecessorNode. More...
 
- Protected Attributes inherited from SuccessorNode
NodeRelationPtrVector m_predecessors
 Predecessors of the SuccessorNode. More...
 

Detailed Description

HMscNode which references either BMsc or HMsc.

Represents reference node in Z.120.

Definition at line 27 of file ReferenceNode.h.

Constructor & Destructor Documentation

ReferenceNode::ReferenceNode ( )
inline

Definition at line 44 of file ReferenceNode.h.

ReferenceNode::ReferenceNode ( ReferenceNode original)
inline

Initializes m_original

Definition at line 51 of file ReferenceNode.h.

virtual ReferenceNode::~ReferenceNode ( )
inlinevirtual

Definition at line 55 of file ReferenceNode.h.

References MscElement::is_attribute_set().

Member Function Documentation

void ReferenceNode::add_time_relation_bottom ( TimeRelationRefNodePtr  relation)
inline
void ReferenceNode::add_time_relation_top ( TimeRelationRefNodePtr  relation)
inline

Definition at line 111 of file ReferenceNode.h.

BMscPtr ReferenceNode::get_bmsc ( ) const
inline
HMscPtr ReferenceNode::get_hmsc ( ) const
inline
const MscPtr& ReferenceNode::get_msc ( ) const
inline
const TimeRelationRefNodePtrSet& ReferenceNode::get_time_relations_bottom ( ) const
inline
TimeRelationRefNodePtrSet& ReferenceNode::get_time_relations_bottom ( )
inline

Definition at line 164 of file ReferenceNode.h.

const TimeRelationRefNodePtrSet& ReferenceNode::get_time_relations_top ( ) const
inline
TimeRelationRefNodePtrSet& ReferenceNode::get_time_relations_top ( )
inline

Definition at line 154 of file ReferenceNode.h.

bool ReferenceNode::is_time_relation_bottom ( const TimeRelationRefNodePtr relation) const
inline

Definition at line 139 of file ReferenceNode.h.

bool ReferenceNode::is_time_relation_top ( const TimeRelationRefNodePtr relation) const
inline

Definition at line 120 of file ReferenceNode.h.

void ReferenceNode::remove_time_relation_bottom ( TimeRelationRefNodePtr  relation)
inline

Definition at line 144 of file ReferenceNode.h.

Referenced by check_collections_fun().

void ReferenceNode::remove_time_relation_top ( TimeRelationRefNodePtr  relation)
inline

Definition at line 125 of file ReferenceNode.h.

Referenced by check_collections_fun().

void ReferenceNode::set_msc ( const MscPtr msc)
inline

Member Data Documentation

MscPtr ReferenceNode::m_msc
private

MSC which is contained in this node.

Definition at line 35 of file ReferenceNode.h.

TimeRelationRefNodePtrSet ReferenceNode::m_time_relation_set_bottom
private

Definition at line 39 of file ReferenceNode.h.

TimeRelationRefNodePtrSet ReferenceNode::m_time_relation_set_top
private

Definition at line 38 of file ReferenceNode.h.


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

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