27#include "neml2/base/OptionSet.h"
43 operator std::map<std::string, std::map<std::string, OptionSet>>()
const {
return _data; }
46 std::map<std::string, OptionSet> &
operator[](
const std::string & section);
49 const std::map<std::string, std::map<std::string, OptionSet>> &
data()
const {
return _data; }
52 std::map<std::string, std::map<std::string, OptionSet>> _data;
55std::ostream &
operator<<(std::ostream & os,
const OptionCollection & p);
A data structure that holds options of multiple objects.
Definition OptionCollection.h:38
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:49
OptionCollection()=default
std::map< std::string, OptionSet > & operator[](const std::string §ion)
Get all the object options under a specific section.
Definition OptionCollection.cxx:30
Definition CrossRef.cxx:32
std::ostream & operator<<(std::ostream &os, const OptionCollection &p)
Definition OptionCollection.cxx:37