www.mooseframework.org
Functions
CSV.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< CSV > ()
 

Function Documentation

template<>
InputParameters validParams< CSV > ( )

Definition at line 22 of file CSV.C.

23 {
24  // Get the parameters from the parent object
26 
27  params.addParam<bool>("sort_columns", false, "Toggle the sorting of columns alphabetically.");
28 
29  // Options for aligning csv output with whitespace padding
30  params.addParam<bool>(
31  "align",
32  false,
33  "Align the outputted csv data by padding the numbers with trailing whitespace");
34  params.addParam<std::string>("delimiter", ",", "Assign the delimiter (default is ','");
35  params.addParam<unsigned int>("precision", 14, "Set the output precision");
36 
37  // Suppress unused parameters
38  params.suppressParameter<unsigned int>("padding");
39 
40  // Done
41  return params;
42 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void suppressParameter(const std::string &name)
This method suppresses an inherited parameter so that it isn&#39;t required or valid in the derived class...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< TableOutput >()
Definition: TableOutput.C:32