fw4spl
LinkDescriptor.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/LinkDescriptor.hpp"
8 
9 namespace fwAtomsPatch
10 {
11 
13  m_weight(1), m_context(""), m_originVersion(""), m_targetVersion("")
14 {
15 }
16 
17 // ----------------------------------------------------------------------------
18 
19 LinkDescriptor::LinkDescriptor(const std::string& context, const std::string& originVersion,
20  const std::string& targetVersion, const std::string& patcher,
21  LinksType links, int weight) :
22  m_weight(weight), m_context(context), m_originVersion(originVersion), m_targetVersion(targetVersion),
23  m_patcher(patcher), m_links(links)
24 {
25 }
26 
27 // ----------------------------------------------------------------------------
28 
30 {
31 }
32 
33 } //namespace fwAtomsPatch
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16
std::map< VersionIDType, VersionIDType > LinksType
Links used to link two versions.