https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FileRangeBuilder.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 "Moose.h"
14
15class InputParameters;
16
17template <typename T>
19
34{
35public:
37
38 FileRangeBuilder(const InputParameters & params);
39
40 virtual ~FileRangeBuilder() = default;
41
42 std::string fileSuffix() { return _file_suffix; }
43 const std::vector<std::string> & filenames() { return _filenames; }
44
45protected:
46 // int status(){ return _status; }
47 void errorCheck();
48
50 std::string _file_suffix;
51 std::vector<std::string> _filenames;
52};
InputParameters validParams()
To be called in the validParams functions of classes that need to operate on ranges of files.
std::string _file_suffix
const std::vector< std::string > & filenames()
static InputParameters validParams()
std::string fileSuffix()
std::vector< std::string > _filenames
virtual ~FileRangeBuilder()=default
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.