fw4spl
IPatch.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwAtomsPatch/IPatch.hpp"
8 
9 namespace fwAtomsPatch
10 {
11 
13 {
14 }
15 
16 // ----------------------------------------------------------------------------
17 
19 {
20 }
21 
22 // ----------------------------------------------------------------------------
23 
24 IPatch::IPatch( const IPatch &cpy )
25 {
28 }
29 
30 // ----------------------------------------------------------------------------
31 
32 const std::string& IPatch::getOriginClassname() const
33 {
34  return m_originClassname;
35 }
36 
37 // ----------------------------------------------------------------------------
38 
39 const std::string& IPatch::getOriginVersion() const
40 {
41  return m_originVersion;
42 }
43 
44 } //fwAtomsPatch
virtual FWATOMSPATCH_API const std::string & getOriginClassname() const
Returns the origin classname of the object.
Definition: IPatch.cpp:32
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16
std::string m_originClassname
Origin classname of the object.
Definition: IPatch.hpp:64
std::string m_originVersion
Origin version of the object.
Definition: IPatch.hpp:67
FWATOMSPATCH_API IPatch()
Constructor. Does nothing.
Definition: IPatch.cpp:12
virtual FWATOMSPATCH_API ~IPatch()
Destructor. Does nothing.
Definition: IPatch.cpp:18
virtual FWATOMSPATCH_API const std::string & getOriginVersion() const
Returns the origin version of the object.
Definition: IPatch.cpp:39
Base class of all patches.
Definition: IPatch.hpp:27