Gromacs  2021-beta2-UNCHECKED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
keyvaluetree.h File Reference
#include <algorithm>
#include <functional>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "gromacs/utility/any.h"
#include "gromacs/utility/real.h"
+ Include dependency graph for keyvaluetree.h:
+ This graph shows which files directly or indirectly include this file:


Declares a data structure for JSON-like structured key-value mapping.

A tree is composed of nodes that can have different types:

Teemu Murtola


class  gmx::KeyValueTreePath
 Identifies an entry in a key-value tree. More...


KeyValueTreePath gmx::operator+ (const KeyValueTreePath &a, const KeyValueTreePath &b)
 Combines two paths as with KeyValueTreePath::append().
KeyValueTreePath gmx::operator+ (const KeyValueTreePath &a, const std::string &b)
 Combines an element to a path as with KeyValueTreePath::append().
void gmx::dumpKeyValueTree (TextWriter *writer, const KeyValueTreeObject &tree)
 Writes a human-readable representation of the tree with given writer. More...
void gmx::compareKeyValueTrees (TextWriter *writer, const KeyValueTreeObject &tree1, const KeyValueTreeObject &tree2, real ftol, real abstol)
 Compares two KeyValueTrees and prints any differences.
static std::string gmx::simpleValueToString (const KeyValueTreeValue &value)
 Helper function to format a simple KeyValueTreeValue.