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

Base abstract class for node of HMsc. More...

#include <HMscNode.h>

Inheritance diagram for HMscNode:
Inheritance graph
Collaboration diagram for HMscNode:
Collaboration graph

Public Member Functions

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
 

Protected Member Functions

 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

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
 

Private Attributes

MscPoint m_position
 

Detailed Description

Base abstract class for node of HMsc.

Definition at line 25 of file HMscNode.h.

Constructor & Destructor Documentation

HMscNode::HMscNode ( )
inlineprotected

Definition at line 34 of file HMscNode.h.

HMscNode::HMscNode ( HMscNode original)
inlineprotected

Definition at line 40 of file HMscNode.h.

virtual HMscNode::~HMscNode ( )
inlinevirtual

Definition at line 70 of file HMscNode.h.

Member Function Documentation

HMsc* HMscNode::get_owner ( ) const
inline
const MscPoint& HMscNode::get_position ( ) const
inline

Definition at line 58 of file HMscNode.h.

HMscNodePtr HMscNode::my_ptr ( )

Definition at line 21 of file HMscNode.cpp.

References HMsc::find_ptr(), and m_owner.

void HMscNode::set_owner ( HMsc owner)
inline

Definition at line 53 of file HMscNode.h.

void HMscNode::set_position ( const MscPoint position)
inline

Definition at line 63 of file HMscNode.h.

Referenced by CDrawingExtractor::extract_hmsc(), and Beautify::transform_hmsc().

Member Data Documentation

HMsc* HMscNode::m_owner
protected

Definition at line 32 of file HMscNode.h.

Referenced by my_ptr().

MscPoint HMscNode::m_position
private

Definition at line 28 of file HMscNode.h.


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

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