MolSim
Loading...
Searching...
No Matches
WriterFactory.h
Go to the documentation of this file.
1
9#pragma once
10
11#include "FileWriter.h"
12#include "NullWriter.h"
13#include "VTKWriter.h"
14#include "XYZWriter.h"
15#include "utils/Arguments.h"
16#include "utils/CLIUtils.h"
17#include <memory>
18#include <string>
19
22 public:
30 static std::unique_ptr<FileWriter> createWriter(WriterType type, const std::string &basename);
31};
Configurable program and simulation arguments.
WriterType
Enum containing each (valid) type of output writer.
Definition Arguments.h:20
Utility functions for console input / output.
General class used to strictly write particle data to some output file. data.
Class used for testing purposes.
Class used to generate VTK output.
Class used to generate XYZ output.
Factory class for creating different types of file output generators.
Definition WriterFactory.h:21
static std::unique_ptr< FileWriter > createWriter(WriterType type, const std::string &basename)
Returns a unique pointer to a default-initialized writer object of a given type.
Enumeration class corresponding to the type schema type.
Definition vtk-unstructured.h:2125