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