-/*
- * ExchangePlugin_Tools.h
- *
- * Created on: May 15, 2015
- * Author: spo
- */
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ExchangePlugin_Tools.h
+// Created: May 15, 2015
+// Author: Sergey POKHODENKO
#ifndef EXCHANGEPLUGIN_TOOLS_H_
#define EXCHANGEPLUGIN_TOOLS_H_
#include <list>
#include <string>
-/**\class ExchangePlugin_Tools
- * \ingroup Plugins
- * \brief Internal tools for the plugin.
+/**
+ * \class ExchangePlugin_Tools
+ * \brief Internal tools for the ExchangePlugin.
*/
class EXCHANGEPLUGIN_EXPORT ExchangePlugin_Tools {
public:
static std::list<std::string> split(const std::string& theString,
char theDelimiter);
+ /// Converts string representation of selection type to XAO dimension.
+ static std::string selectionType2xaoDimension(const std::string& theString);
+
+ /// Converts string representation of XAO dimension to selection type.
+ static std::string xaoDimension2selectionType(const std::string& theDimension);
+
};
#endif /* EXCHANGEPLUGIN_TOOLS_H_ */