|
From: <ob...@us...> - 2013-05-26 00:24:07
|
Revision: 1820
http://sourceforge.net/p/scstudio/code/1820
Author: obouda
Date: 2013-05-26 00:24:04 +0000 (Sun, 26 May 2013)
Log Message:
-----------
deleted MscMessage.cpp - all those tiny method bodies were inlined
Modified Paths:
--------------
branches/conditions/src/data/CMakeLists.txt
branches/conditions/src/data/msc/MscMessage.h
Removed Paths:
-------------
branches/conditions/src/data/msc/MscMessage.cpp
Modified: branches/conditions/src/data/CMakeLists.txt
===================================================================
--- branches/conditions/src/data/CMakeLists.txt 2013-05-26 00:23:02 UTC (rev 1819)
+++ branches/conditions/src/data/CMakeLists.txt 2013-05-26 00:24:04 UTC (rev 1820)
@@ -73,7 +73,6 @@
msc/Msc.h
msc/MscElement.h
msc/MscElementTmpl.h
- msc/MscMessage.cpp
msc/MscMessage.h
msc/NodeRelation.cpp
msc/NodeRelation.h
Deleted: branches/conditions/src/data/msc/MscMessage.cpp
===================================================================
--- branches/conditions/src/data/msc/MscMessage.cpp 2013-05-26 00:23:02 UTC (rev 1819)
+++ branches/conditions/src/data/msc/MscMessage.cpp 2013-05-26 00:24:04 UTC (rev 1820)
@@ -1,39 +0,0 @@
-/*
- * scstudio - Sequence Chart Studio
- * http://scstudio.sourceforge.net
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * Copyright (c) 2013 Ondrej Bouda <ob...@ma...>
- *
- * $Id$
- */
-
-#include "data/msc.h"
-
-MscMessage::MscMessage(const std::wstring& label):
-MscElementTmpl<MscMessage>(),m_label(label)
-{
-}
-
-MscMessage::MscMessage(MscMessage* original):
-MscElementTmpl<MscMessage>(original)
-{
- if(original)
- {
- m_label = original->get_label();
- }
-}
-
-MscMessage::~MscMessage()
-{
-}
-
-
Modified: branches/conditions/src/data/msc/MscMessage.h
===================================================================
--- branches/conditions/src/data/msc/MscMessage.h 2013-05-26 00:23:02 UTC (rev 1819)
+++ branches/conditions/src/data/msc/MscMessage.h 2013-05-26 00:24:04 UTC (rev 1820)
@@ -36,11 +36,19 @@
* @param receiver - receiving instance
* @param label - label of message
*/
- MscMessage(const std::wstring& label=L"");
+ MscMessage(const std::wstring& label=L"") : MscElementTmpl<MscMessage>(), m_label(label)
+ {
+ }
- MscMessage(MscMessage* original);
+ MscMessage(MscMessage* original) : MscElementTmpl<MscMessage>(original)
+ {
+ if(original)
+ m_label = original->get_label();
+ }
- virtual ~MscMessage();
+ virtual ~MscMessage()
+ {
+ }
const std::wstring& get_label() const
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|