Class to collect metadata.
More...
#include <dumux/common/metadata.hh>
Class to collect metadata.
|
template<class T > |
static std::string | className (const T &c, bool hideTemplates) |
|
template<class T > |
static std::string | className (bool hideTemplates) |
|
static std::string | hideTemplateArguments (std::string &&s) |
|
◆ append()
void Dumux::MetaData::Collector::append |
( |
const Collector & |
collector, |
|
|
bool |
convertToArrays = false |
|
) |
| |
|
inline |
Append data from another collector.
- Parameters
-
collector | The json collector from which data is taken |
convertToArrays | Convert non-array types to array which allows appending data |
◆ className() [1/2]
template<class T >
static std::string Dumux::MetaData::Collector::className |
( |
bool |
hideTemplates | ) |
|
|
inlinestatic |
◆ className() [2/2]
template<class T >
static std::string Dumux::MetaData::Collector::className |
( |
const T & |
c, |
|
|
bool |
hideTemplates |
|
) |
| |
|
inlinestatic |
◆ getTree() [1/2]
JsonTree & Dumux::MetaData::Collector::getTree |
( |
| ) |
|
|
inline |
◆ getTree() [2/2]
const JsonTree & Dumux::MetaData::Collector::getTree |
( |
| ) |
const |
|
inline |
◆ hideTemplateArguments()
static std::string Dumux::MetaData::Collector::hideTemplateArguments |
( |
std::string && |
s | ) |
|
|
inlinestatic |
◆ merge()
void Dumux::MetaData::Collector::merge |
( |
const Collector & |
collector | ) |
|
|
inline |
Merges two trees by overwriting existing values.
◆ operator[]()
auto & Dumux::MetaData::Collector::operator[] |
( |
const std::string & |
id | ) |
|
|
inline |
returns the object with id of the json tree
The documentation for this class was generated from the following file: