1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ExchangePlugin_Tools.h
4 // Created: May 15, 2015
5 // Author: Sergey POKHODENKO
7 #ifndef EXCHANGEPLUGIN_TOOLS_H_
8 #define EXCHANGEPLUGIN_TOOLS_H_
10 #include <ExchangePlugin.h>
16 * \class ExchangePlugin_Tools
17 * \brief Internal tools for the ExchangePlugin.
19 class EXCHANGEPLUGIN_EXPORT ExchangePlugin_Tools {
21 /// Splits theString using theDelimiter.
22 static std::list<std::string> split(const std::string& theString,
25 /// Converts string representation of selection type to XAO dimension.
26 static std::string selectionType2xaoDimension(const std::string& theString);
28 /// Converts string representation of XAO dimension to selection type.
29 static std::string xaoDimension2selectionType(const std::string& theDimension);
33 #endif /* EXCHANGEPLUGIN_TOOLS_H_ */