Medical Imaging Interaction Toolkit  2022.04.99-b878213f
Medical Imaging Interaction Toolkit
mitkSplitParameterToVector.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSplitParameterToVector_h
14 #define mitkSplitParameterToVector_h
15 
16 #include "MitkCLUtilitiesExports.h"
17 #include <string>
18 #include <vector>
19 
20 namespace mitk
21 {
22  namespace cl
23  {
24  std::vector<double> MITKCLUTILITIES_EXPORT splitDouble(std::string str, char delimiter);
25  std::vector<int> MITKCLUTILITIES_EXPORT splitInt(std::string str, char delimiter);
26  std::vector<std::string> MITKCLUTILITIES_EXPORT splitString(std::string str, char delimiter);
27  }
28 }
29 
30 
31 #endif //mitkSplitParameterToVector_h
std::vector< int > MITKCLUTILITIES_EXPORT splitInt(std::string str, char delimiter)
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< double > MITKCLUTILITIES_EXPORT splitDouble(std::string str, char delimiter)
std::vector< std::string > MITKCLUTILITIES_EXPORT splitString(std::string str, char delimiter)
#define MITKCLUTILITIES_EXPORT