Medical Imaging Interaction Toolkit  2024.06.00
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
MITKCLUTILITIES_EXPORT
#define MITKCLUTILITIES_EXPORT
Definition: MitkCLUtilitiesExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::cl::splitInt
std::vector< int > MITKCLUTILITIES_EXPORT splitInt(std::string str, char delimiter)
mitk::cl::splitDouble
std::vector< double > MITKCLUTILITIES_EXPORT splitDouble(std::string str, char delimiter)
mitk::cl::splitString
std::vector< std::string > MITKCLUTILITIES_EXPORT splitString(std::string str, char delimiter)
MitkCLUtilitiesExports.h