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