Skip to content
Snippets Groups Projects
Select Git revision
  • b400fea376f7f90ea191f250495d96ea64c6121f
  • master default protected
  • 6.x protected
  • JohannesPfeifer-master-patch-18702
  • pardiso+paru
  • mkl-pardiso
  • madysson
  • 5.x protected
  • asm
  • time-varying-information-set
  • 4.6 protected
  • dynare_minreal
  • dragonfly
  • various_fixes
  • 4.5 protected
  • clang+openmp
  • exo_steady_state
  • declare_vars_in_model_block
  • julia
  • error_msg_undeclared_model_vars
  • static_aux_vars
  • 6.4 protected
  • 6.3 protected
  • 6.2 protected
  • 6.1 protected
  • 6.0 protected
  • 6-beta2 protected
  • 6-beta1 protected
  • 5.5 protected
  • 5.4 protected
  • 5.3 protected
  • 5.2 protected
  • 5.1 protected
  • 5.0 protected
  • 5.0-rc1 protected
  • 4.7-beta3 protected
  • 4.7-beta2 protected
  • 4.7-beta1 protected
  • 4.6.4 protected
  • 4.6.3 protected
  • 4.6.2 protected
41 results

write.m

Blame
  • Statement.hh 6.76 KiB
    /*
     * Copyright (C) 2006-2013 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 <http://www.gnu.org/licenses/>.
     */
    
    #ifndef _STATEMENT_HH
    #define _STATEMENT_HH
    
    #include <ostream>
    #include <string>
    #include <map>
    #include <set>
    
    #include "SymbolList.hh"
    #include "WarningConsolidation.hh"
    
    class ModFileStructure
    {
    public:
      ModFileStructure();
      //! Whether check is present
      bool check_present;
      //! Whether steady is present
      bool steady_present;
      //! Whether a simul statement is present
      bool simul_present;
      //! Whether a stoch_simul statement is present
      bool stoch_simul_present;
      //! Whether an estimation statement is present
      bool estimation_present;
      //! Whether an osr statement is present
      bool osr_present;
      //! Whether an osr params statement is present
      bool osr_params_present;
      //! Whether an optim weight statement is present
      bool optim_weights_present;
      //! Whether a ramsey_policy statement is present
      bool ramsey_policy_present;
      //! Whether a discretionary_objective statement is present
      bool discretionary_policy_present;
      //! Whether a planner_objective statement is present
      bool planner_objective_present;
      //! Whether an extended_path statement is present
      bool extended_path_present;
      //! The value of the "order" option of stoch_simul, estimation, osr, ramsey_policy
      //! Derivation order
      /*! First initialized to zero. If user sets order option somewhere in the MOD file, it will be equal to the maximum of order options. Otherwise will default to 2 */
      int order_option;
      //! Whether a bvar_density, bvar_forecast, sbvar, ms_sbvar statement is present
      bool bvar_present;
      //! Whether an svar_identification statement is present
      bool svar_identification_present;
      //! Whether an identification statement is present or the identification option of dynare_sensitivity statement is equal to one
      bool identification_present;
      //! Whether the option analytic_derivation is given to estimation
      bool estimation_analytic_derivation;