|
SpECTRE
v2026.04.01
|
Utilities for parsing input files. More...
Namespaces | |
| namespace | AutoLabel |
| The label representing the absence of a value for Options::Auto | |
Typedefs | |
| template<typename FactoryClasses, typename... NewClasses> | |
| using | add_factory_classes |
| Add new factory-creatable classes to the list in a factory_creation struct. | |
| using | String = const char* const |
| The string used in option structs. | |
Functions | |
| template<typename T, typename Label> | |
| bool | operator== (const Auto< T, Label > &a, const Auto< T, Label > &b) |
| template<typename T, typename Label> | |
| bool | operator!= (const Auto< T, Label > &a, const Auto< T, Label > &b) |
| template<typename T, typename Label> | |
| std::ostream & | operator<< (std::ostream &os, const Auto< T, Label > &x) |
| std::ostream & | operator<< (std::ostream &s, const Context &c) |
Utilities for parsing input files.
| using Options::add_factory_classes |
Add new factory-creatable classes to the list in a factory_creation struct.
For each tmpl::pair<Base, DerivedList> in the NewClasses parameter pack, append the classes in DerivedList to the list for Base in FactoryClasses. The FactoryClasses map need not have a preexisting entry for Base.
This example adds three new derived classes, two for one base class and one for another.