1 #ifndef CLI_CONVERTER_TASK_H_
2 #define CLI_CONVERTER_TASK_H_
39 : m_project_name(project), m_timestep_filter(timestep_filter),
40 m_output_format(output_format), m_inputformat_filter(inputformat_filter)
60 std::string m_project_name;
61 std::string m_timestep_filter;
63 std::string m_inputformat_filter;
68 std::ostream& operator<<(std::ostream& os,
const CliConverterTask& task)
70 os <<
"CliConverterTask: project = " << task.GetProjectName() << std::endl
71 <<
" timestep_filter = " << task.GetTimeStepFilter()
72 <<
", output_format = " << task.GetOutputFormat()->GetName() <<
", inputformat_filter="<<task.GetInputFormatFilter();
79 #endif // include guard
A CliConverterTask represents an invocation of the converter from the command line.
Namespace for SimPT shell package.
const std::string GetProjectName() const
Plain getter.
Interface for IConverterFormat.
Interface for file convenvereter formats.
const std::string GetTimeStepFilter() const
Plain getter.
const std::string GetInputFormatFilter() const
Plain getter.
CliConverterTask(const std::string &project, std::string timestep_filter, IConverterFormat *output_format, std::string inputformat_filter="")
Straight constructor.
IConverterFormat * GetOutputFormat() const
Plain getter.