NorMIT-nav  22.09
An IGT application
cxStringHelpers.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXSTRINGHELPERS_H
13 #define CXSTRINGHELPERS_H
14 
15 #include "cxResourceExport.h"
16 
17 class QString;
18 class QStringList;
19 
20 
26 namespace cx
27 {
28 
37 cxResource_EXPORT QStringList splitStringContaingQuotes(QString line);
38 
39 cxResource_EXPORT int convertStringWithDefault(QString text, int def);
40 
41 } // namespace cx
42 
48 #endif // CXSTRINGHELPERS_H
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::splitStringContaingQuotes
QStringList splitStringContaingQuotes(QString line)
Definition: cxStringHelpers.cpp:21
cx::convertStringWithDefault
int convertStringWithDefault(QString text, int def)
Definition: cxStringHelpers.cpp:54