Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
InputHandler.h
Go to the documentation of this file.
1 //
2 // Created by Ashutosh Solanki on 22.05.24.
3 //
4 
5 #pragma once
6 #include <string>
7 
17  static const std::unordered_map<std::string, FileHandler::inputFormat> formatMap = {
20  };
21 
22  auto it = formatMap.find(InputFormat);
23  return (it != formatMap.end()) ? it->second : FileHandler::inputFormat::invalid;
24 }
25 
FileHandler::inputFormat setInputFormat(const std::string &InputFormat)
Sets the file format which is specified in the string.
Definition: InputHandler.h:16
inputFormat
Supported input formats.
Definition: FileHandler.h:38
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: vtk-unstructured.h:270