Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "InputFileFormatter.h" 13 : 14 : #include <sstream> 15 : #include <string> 16 : #include <vector> 17 : 18 : class ActionWarehouse; 19 : 20 : /* 21 : * Dumps the input file in the Exodus output 22 : */ 23 : class ExodusFormatter : public InputFileFormatter 24 : { 25 : public: 26 : ExodusFormatter(); 27 : 28 : void printInputFile(ActionWarehouse & wh); 29 : 30 : void format(); 31 : 32 31628 : std::vector<std::string> & getInputFileRecord() { return _input_file_record; } 33 : 34 : protected: 35 : std::stringstream _ss; 36 : std::vector<std::string> _input_file_record; 37 : };