ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
CodeInfo.cpp File Reference
#include "CodeInfo.hpp"
#include "config/config-features.hpp"
#include "config/config-features.impl.hpp"
#include "config/version.hpp"
#include "script_interface/scafacos/scafacos.hpp"
#include <boost/algorithm/string/join.hpp>
#include <cstddef>
#include <stdexcept>
#include <string>
#include <unordered_set>
#include <vector>
Include dependency graph for CodeInfo.cpp:

Go to the source code of this file.

Namespaces

namespace  ScriptInterface
namespace  ScriptInterface::CodeInfo

Macros

#define ESPRESSO_REGISTER_METADATA(name)

Functions

static auto ScriptInterface::CodeInfo::get_feature_vector (char const *const ptr[], std::size_t len)
static auto ScriptInterface::CodeInfo::get_feature_set (char const *const ptr[], std::size_t len)
std::string ScriptInterface::CodeInfo::check_features_msg (std::vector< std::string > const &features)
 Generate a message when a feature is missing or not recognized.
void ScriptInterface::CodeInfo::check_features (std::vector< std::string > const &features)
 Throw an exception when a feature is missing or not recognized.

Macro Definition Documentation

◆ ESPRESSO_REGISTER_METADATA

#define ESPRESSO_REGISTER_METADATA ( name)
Value:
flat_map[#name] = serializer(ESPRESSO_##name);

Referenced by ScriptInterface::CodeInfo::CodeInfo::do_call_method().