DDASToys for NSCLDAQ  6.2-000
StringsToIntegers.h
Go to the documentation of this file.
1 /*
2  This software is Copyright by the Board of Trustees of Michigan
3  State University (c) Copyright 2005.
4 
5  You may use this software under the terms of the GNU public license
6  (GPL). The terms of this license are described at:
7 
8  http://www.gnu.org/licenses/gpl.txt
9 
10  Author:
11  Ron Fox
12  NSCL
13  Michigan State University
14  East Lansing, MI 48824-1321
15 */
16 
23 #ifndef STRINGSTOINTEGERS_H
24 #define STRINGSTOINTEGERS_H
25 
26 #ifndef __STL_STRING
27 #include <string>
28 #ifndef __STL_STRING
29 #define __STL_STRING
30 #endif
31 #endif
32 
33 #ifndef __STL_VECTOR
34 #include <vector>
35 #ifndef __STL_VECTOR
36 #define __STL_VECTOR
37 #endif
38 #endif
39 
40 #ifndef __CINVALIDARGUMENTEXCEPTION_H
41 #include <CInvalidArgumentException.h>
42 #endif
43 
53 std::vector<int> stringListToIntegers(std::string items);
54 
55 #endif
std::vector< int > stringListToIntegers(std::string items)
aA unbound function that takes a comma separated list of integer (in string form) and converts them i...