Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
OutputInterface.h
Go to the documentation of this file.
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 // MOOSE includes
13 #include "MooseTypes.h"
14 
15 // C++ includes
16 #include <set>
17 #include <string>
18 
19 // Forward declerations
20 class InputParameters;
21 class MooseApp;
22 class OutputWarehouse;
23 
24 template <typename T>
26 
34 {
35 public:
43  OutputInterface(const InputParameters & parameters, bool build_list = true);
44 
46 
56  void buildOutputHideVariableList(std::set<std::string> variable_names);
57 
62  const std::set<OutputName> & getOutputs();
63 
64 private:
67 
70 
72  std::set<OutputName> _oi_outputs;
73 };
OutputWarehouse & _oi_output_warehouse
Reference to the OutputWarehouse for populating the Output object hide lists.
static InputParameters validParams()
A class to provide an common interface to objects requiring "outputs" option.
Base class for MOOSE-based applications.
Definition: MooseApp.h:85
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
OutputInterface(const InputParameters &parameters, bool build_list=true)
Handles &#39;outputs&#39; parameter for objects that desire control of variable outputs.
InputParameters validParams()
std::set< OutputName > _oi_outputs
The set of Output object names listed in the &#39;outputs&#39; parameter.
void buildOutputHideVariableList(std::set< std::string > variable_names)
Builds hide lists for output objects NOT listed in the &#39;outputs&#39; parameter.
Class for storing and utilizing output objects.
MooseApp & _oi_moose_app
Reference the the MooseApp; neede for access to the OutputWarehouse.
const std::set< OutputName > & getOutputs()
Get the list of output objects that this class is restricted.