www.mooseframework.org
Classes | Functions
FileRangeBuilder.h File Reference

Go to the source code of this file.

Classes

class  FileRangeBuilder
 Augments an InputParameters object with file range information. More...
 

Functions

template<typename T >
InputParameters validParams ()
 This is the templated validParams() function that every MooseObject-derived class is required to specialize. More...
 
template<>
InputParameters validParams< FileRangeBuilder > ()
 To be called in the validParams functions of classes that need to operate on ranges of files. More...
 

Function Documentation

◆ validParams()

template<typename T >
InputParameters validParams ( )

This is the templated validParams() function that every MooseObject-derived class is required to specialize.

Definition at line 1551 of file InputParameters.h.

1552 {
1553  // If users forgot to make their (old) validParams, they screwed up and
1554  // should get an error - so it is okay for us to try to call the new
1555  // validParams static function - which will error if they didn't implement
1556  // the new function. We can't have the old static assert that use to be
1557  // here because then the sfinae for toggling between old and new-style
1558  // templating will always see this function and call it even if an object
1559  // has *only* the new style validParams.
1560  return T::validParams();
1561 }

◆ validParams< FileRangeBuilder >()

To be called in the validParams functions of classes that need to operate on ranges of files.

Adds several non-required parameters that are parsed in the parseFileRange function.

validParams
InputParameters validParams()
This is the templated validParams() function that every MooseObject-derived class is required to spec...
Definition: InputParameters.h:1551