|
Falaise
4.0.1
SuperNEMO Software Toolkit
|
Convenience functions for reading datatools::properties. More...
#include <exception>#include <string>#include <vector>#include <bayeux/datatools/properties.h>#include <boost/mpl/contains.hpp>#include <boost/mpl/vector.hpp>#include <boost/utility/enable_if.hpp>Go to the source code of this file.
Namespaces | |
| falaise | |
| falaise::config | |
| falaise::config::type_check_visitor | |
| Functions for visiting a property item and checking its type is valid. | |
| falaise::config::type_check_visitor::detail | |
Typedefs | |
| typedef std::logic_error | falaise::config::WrongType |
| typedef std::logic_error | falaise::config::MissingKey |
| typedef boost::mpl::vector< int, double, bool, std::string, std::vector< int >, std::vector< double >, std::vector< bool >, std::vector< std::string > > | falaise::config::AllowedTypes |
| List of types that can be stored in and read from datatools::properties. More... | |
Convenience functions for reading datatools::properties.
The interface provided by datatools::properties often requires significant boilerplate code to check for and extract values associated with keys. The functions here help to minimize this and assist in binding a struct to a properties definition
1.8.15