|
From: <ma...@us...> - 2008-05-10 20:17:10
|
Revision: 67
http://scstudio.svn.sourceforge.net/scstudio/?rev=67&view=rev
Author: madzin
Date: 2008-05-10 13:17:03 -0700 (Sat, 10 May 2008)
Log Message:
-----------
I wrote set and get methods to work with BMCS and components of BMCS.
Modified Paths:
--------------
trunk/src/data/msc.h
Modified: trunk/src/data/msc.h
===================================================================
--- trunk/src/data/msc.h 2008-05-10 19:11:50 UTC (rev 66)
+++ trunk/src/data/msc.h 2008-05-10 20:17:03 UTC (rev 67)
@@ -267,8 +267,16 @@
{
}
-
+
/**
+ *Adds instance.
+ */
+ void add_instance(InstancePtr& i)
+ {
+ m_instances.push_back(i);
+ }
+
+ /**
* Getter for m_instances.
*/
const InstancePtrList& get_instances()
@@ -529,7 +537,18 @@
public:
+ Instance()
+ {
+ }
+
/**
+ * Set the first EventArea
+ */
+ void set_first(EventAreaPtr& a)
+ {
+ m_first = a;
+ }
+ /**
* Getter for m_first.
*/
EventAreaPtr get_first()
@@ -877,6 +896,14 @@
virtual ~EventArea(){}
/**
+ * Set event's successor
+ */
+ void set_next(EventAreaPtr& n){
+ m_next = n;
+ n->m_previous = this;
+ }
+
+ /**
* Getter for m_next
*/
EventAreaPtr get_next()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|