Skip to content
Snippets Groups Projects
Select Git revision
  • ea44aa19d6dd2bf4c508ee081b2b6cae2a647250
  • master default
  • julia
  • created_preprocessor_repo
4 results

ComputingTasks.hh

Blame
  • Forked from Dynare / preprocessor
    Source project has a limited visibility.
    ComputingTasks.hh 48.15 KiB
    /*
     * Copyright © 2003-2021 Dynare Team
     *
     * This file is part of Dynare.
     *
     * Dynare is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     *
     * Dynare is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
     */
    
    #ifndef _COMPUTINGTASKS_HH
    #define _COMPUTINGTASKS_HH
    
    #include <ostream>
    
    #include "SymbolList.hh"
    #include "SymbolTable.hh"
    #include "Statement.hh"
    #include "StaticModel.hh"
    #include "DynamicModel.hh"
    #include "ModelEquationBlock.hh"
    
    class SteadyStatement : public Statement
    {
    private:
      const OptionsList options_list;
    public:
      explicit SteadyStatement(OptionsList options_list_arg);
      void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings) override;
      void writeOutput(ostream &output, const string &basename, bool minimal_workspace) const override;
      void writeJsonOutput(ostream &output) const override;
    };
    
    class CheckStatement : public Statement
    {
    private:
      const OptionsList options_list;
    public:
      explicit CheckStatement(OptionsList options_list_arg);
      void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings) override;
      void writeOutput(ostream &output, const string &basename, bool minimal_workspace) const override;
      void writeJsonOutput(ostream &output) const override;
    };
    
    class SimulStatement : public Statement
    {
    private:
      const OptionsList options_list;
    public:
      explicit SimulStatement(OptionsList options_list_arg);
      void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings) override;
      void writeOutput(ostream &output, const string &basename, bool minimal_workspace) const override;
      void writeJsonOutput(ostream &output) const override;
    };
    
    class PerfectForesightSetupStatement : public Statement
    {
    private:
      const OptionsList options_list;
    public:
      explicit PerfectForesightSetupStatement(OptionsList options_list_arg);