#include <FormattedTable.h>
|
| | TableValue (const T &value) |
| |
| const T & | get () const |
| |
| T & | set () |
| |
| virtual void | print (std::ostream &os) const override |
| |
| virtual void | store (std::ostream &stream, void *context) override |
| |
| void | print (std::ostream &os) const |
| |
template<typename T>
class TableValue< T >
Definition at line 57 of file FormattedTable.h.
◆ TableValue()
Definition at line 60 of file FormattedTable.h.
61 {
62 if (!this->isSupportedType<T>())
63 mooseError(
"Unsupported type ", MooseUtils::prettyCppType<T>(),
" for FormattedTable.");
64 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
◆ get()
◆ isSupportedType()
template<typename T >
| static constexpr bool TableValueBase::isSupportedType |
( |
| ) |
|
|
inlinestaticconstexprinherited |
Definition at line 44 of file FormattedTable.h.
45 {
46 return std::is_fundamental<T>::value || std::is_same<T, std::string>::value;
47 }
◆ load()
Definition at line 97 of file FormattedTable.h.
100{
103 value_base = std::dynamic_pointer_cast<TableValueBase>(std::make_shared<
TableValue<T>>(value));
104}
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
Referenced by dataLoad().
◆ print() [1/2]
| void TableValue< bool >::print |
( |
std::ostream & |
os | ) |
const |
|
inlinevirtual |
◆ print() [2/2]
template<typename T >
| virtual void TableValue< T >::print |
( |
std::ostream & |
os | ) |
const |
|
inlineoverridevirtual |
◆ set()
◆ store()
template<typename T >
| void TableValue< T >::store |
( |
std::ostream & |
stream, |
|
|
void * |
context |
|
) |
| |
|
overridevirtual |
◆ _value
The documentation for this class was generated from the following file: