keyname_utils.hpp

Utility functions that support the keyname file naming convention.

This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2019-2023 Michigan State University MIT Software license; see doc/LICENSE.md

Plays nice with the Python package keyname. https://github.com/mmore500/keyname

Defines

INCLUDE_EMP_TOOLS_KEYNAME_UTILS_HPP_GUARD
namespace keyname

Typedefs

using unpack_t = std::unordered_map<std::string, std::string>

Functions

inline std::string pack(const unpack_t &dict)
inline unpack_t unpack(const std::string &filename)