Gromacs
2019
|
#include <algorithm>
#include <functional>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "gromacs/utility/real.h"
#include "gromacs/utility/variant.h"
Declares a data structure for JSON-like structured key-value mapping.
A tree is composed of nodes that can have different types:
Classes | |
class | gmx::KeyValueTreePath |
Identifies an entry in a key-value tree. More... | |
Functions | |
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. | |