|
From: <ba...@us...> - 2008-04-15 19:34:20
|
Revision: 32
http://scstudio.svn.sourceforge.net/scstudio/?rev=32&view=rev
Author: babicaj
Date: 2008-04-15 12:34:13 -0700 (Tue, 15 Apr 2008)
Log Message:
-----------
New getter methods
Modified Paths:
--------------
trunk/src/data/msc.h
Modified: trunk/src/data/msc.h
===================================================================
--- trunk/src/data/msc.h 2008-04-15 19:30:03 UTC (rev 31)
+++ trunk/src/data/msc.h 2008-04-15 19:34:13 UTC (rev 32)
@@ -372,6 +372,23 @@
* occurence of cyclic references.
*/
Instance* m_receiver;
+
+public:
+
+ /**
+ * Getter for m_sender.
+ */
+ Instance* getSender() const {return m_sender;}
+
+ /**
+ * Getter for m_receiver.
+ */
+ Instance* getReceiver() const {return m_receiver;}
+
+ /**
+ * Getter for m_label.
+ */
+ const std::string& getLabel() const {return m_label;}
};
/**
@@ -400,6 +417,13 @@
* EventArea which this Event occures in.
*/
EventArea* m_area;
+
+public:
+
+ /**
+ * Getter for m_message.
+ */
+ MscMessagePtr getMessage(){ return m_message;}
};
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|