File Yaml.h¶
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
This header file contains functions that allow for common notation for common things that can be done at a different degree of derivatives.
This header contains alias definitions defining which classes to use for the different degrees of derivatives.
-
namespace
Utils
Functions
-
static void
nodeToSettings
(Utils::Settings &settings, YAML::Node node, bool allowSuperfluous = false)¶ Parses data from a YAML::Node (yaml-cpp) into the value collection of a settings object.
- Parameters
settings
: The settings.node
: The read yaml node.allowSuperfluous
: It true, the function will ignore kys in the node that are not present in the settings object. If false, the function will throw an error if such a case is encountered.
-
class
YAMLParsingException
: public runtime_error - #include <Yaml.h>
A custom exception for YAML parsing errors.
-
static void
-
namespace