fw4spl
V1ToFwMedDataStudyV1.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
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 #ifndef __FWSTRUCTURALPATCH_FWDATA_STUDY_V1TOFWMEDDATASTUDYV1_HPP__
8 #define __FWSTRUCTURALPATCH_FWDATA_STUDY_V1TOFWMEDDATASTUDYV1_HPP__
9 
10 #include "fwStructuralPatch/config.hpp"
11 
12 #include <fwAtomsPatch/IStructuralPatch.hpp>
13 
14 namespace fwStructuralPatch
15 {
16 
17 namespace fwData
18 {
19 
20 namespace Study
21 {
22 
24 class FWSTRUCTURALPATCH_CLASS_API V1ToFwMedDataStudyV1 : public ::fwAtomsPatch::IStructuralPatch
25 {
26 public:
29  (()),
31 
33  FWSTRUCTURALPATCH_API V1ToFwMedDataStudyV1();
34 
36  FWSTRUCTURALPATCH_API ~V1ToFwMedDataStudyV1();
37 
39  FWSTRUCTURALPATCH_API V1ToFwMedDataStudyV1( const V1ToFwMedDataStudyV1& cpy );
40 
47  FWSTRUCTURALPATCH_API virtual void apply(const ::fwAtoms::Object::sptr& previous,
48  const ::fwAtoms::Object::sptr& current,
49  ::fwAtomsPatch::IPatch::NewVersionsType& newVersions) override;
50 
51 };
52 
53 } // namespace Study
54 
55 } // namespace fwData
56 
57 } // namespace fwStructuralPatch
58 
59 #endif /* __FWSTRUCTURALPATCH_FWDATA_STUDY_V1TOFWMEDDATASTUDYV1_HPP__ */
60 
Contains creators and structural patches.
Definition: Landmarks1.hpp:13
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Transforms a ::fwData::Study to a fwMedData::Study.
Base class of all structural patches.
Contains the representation of the data objects used in the framework.