27#include "neml2/base/OptionSet.h"
28#include "neml2/base/Settings.h"
48 operator std::map<std::string, std::map<std::string, OptionSet>>()
const {
return _data; }
51 std::map<std::string, OptionSet> &
operator[](
const std::string & section);
54 const std::map<std::string, OptionSet> &
operator[](
const std::string & section)
const;
57 const std::map<std::string, std::map<std::string, OptionSet>> &
data()
const {
return _data; }
64 std::map<std::string, std::map<std::string, OptionSet>> _data;
67std::ostream &
operator<<(std::ostream & os,
const OptionCollection & p);
A data structure that holds options of multiple objects.
Definition OptionCollection.h:39
const OptionSet & settings() const
Get global settings.
Definition OptionCollection.h:45
const std::map< std::string, std::map< std::string, OptionSet > > & data() const
Get a read-only reference to the underlying data structure.
Definition OptionCollection.h:57
OptionSet & settings()
Get global settings.
Definition OptionCollection.h:42
std::map< std::string, OptionSet > & operator[](const std::string §ion)
Get all the object options under a specific section.
Definition OptionCollection.cxx:30
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:85
static OptionSet expected_options()
Definition Settings.cxx:33
Definition CrossRef.cxx:31
std::ostream & operator<<(std::ostream &os, const EnumSelection &es)
Definition EnumSelection.cxx:31