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 | List of all members
Msc Class Reference

Represents virtual base class for BMsc and HMsc. More...

#include <Msc.h>

Inheritance diagram for Msc:
Inheritance graph
Collaboration diagram for Msc:
Collaboration graph

Public Member Functions

virtual ~Msc ()
 
void set_label (const std::wstring &label)
 
const std::wstring & get_label () const
 
- Public Member Functions inherited from MscElementTmpl< Msc >
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...
 
Mscget_original () const
 
void set_original (Msc *e)
 
void set_original (boost::intrusive_ptr< Msc > &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

 Msc (const std::wstring &label=L"")
 
 Msc (Msc *original)
 
- Protected Member Functions inherited from MscElementTmpl< Msc >
 MscElementTmpl ()
 
 MscElementTmpl (Msc *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 

Protected Attributes

std::wstring m_label
 Label of MSC. More...
 
- Protected Attributes inherited from MscElementTmpl< Msc >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr< Mscm_original
 Pointer to original version of MscElement. More...
 
- Protected Attributes inherited from Commentable
CommentPtrSet m_comments
 

Detailed Description

Represents virtual base class for BMsc and HMsc.

Definition at line 28 of file Msc.h.

Constructor & Destructor Documentation

Msc::Msc ( const std::wstring &  label = L"")
inlineprotected

Definition at line 38 of file Msc.h.

Msc::Msc ( Msc original)
inlineprotected

Definition at line 42 of file Msc.h.

References get_label().

virtual Msc::~Msc ( )
inlinevirtual

Definition at line 52 of file Msc.h.

Member Function Documentation

const std::wstring& Msc::get_label ( ) const
inline

Setter for m_label

Definition at line 67 of file Msc.h.

Referenced by Msc().

void Msc::set_label ( const std::wstring &  label)
inline

Getter for m_label

Definition at line 59 of file Msc.h.

Member Data Documentation

std::wstring Msc::m_label
protected

Label of MSC.

Definition at line 36 of file Msc.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