]> Creatis software - clitk.git/blob - common/clitkListOfPair.h
Remove sonarQube
[clitk.git] / common / clitkListOfPair.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef CLITKLISTOFPAIR_H
19 #define CLITKLISTOFPAIR_H
20 /**
21    ===================================================================
22    * @file   clitkListOfPair.h
23    * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
24    * @date   27 Feb 2007 09:44:18
25
26    * @brief  
27
28    ===================================================================*/
29
30 #include "clitkCommon.h"
31
32 #include <fstream>
33
34 namespace clitk {
35   
36   //====================================================================
37   template<class MapType>
38   void ReadMap(const std::string & filename, MapType & list, bool inverse=false);
39   
40   //====================================================================
41   double convertValue(double v, 
42                       const std::multimap<double, double> & conversionTable, 
43                       bool linear);
44   
45 #include "clitkListOfPair.txx"
46
47 } // end namespace
48
49 #endif /* end #define CLITKLISTOFPAIR_H */
50