ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Visitor that converts a PackedVariant to a Variant. More...
#include <packed_variant.hpp>
Public Member Functions | |
UnpackVisitor (std::unordered_map< ObjectId, ObjectRef > const &objects) | |
auto | operator() (const std::vector< PackedVariant > &vec) const |
template<typename K > | |
auto | operator() (const std::unordered_map< K, PackedVariant > &map) const |
template<class T > | |
Variant | operator() (T &&val) const |
Variant | operator() (const ObjectId &id) const |
Public Attributes | |
std::unordered_map< ObjectId, ObjectRef > const & | objects |
Visitor that converts a PackedVariant to a Variant.
ObjectId are replaced according to the provided object map.
Definition at line 123 of file packed_variant.hpp.
|
inlineexplicit |
Definition at line 126 of file packed_variant.hpp.
Definition at line 158 of file packed_variant.hpp.
References objects.
|
inline |
Definition at line 142 of file packed_variant.hpp.
References ScriptInterface::get_value().
|
inline |
Definition at line 130 of file packed_variant.hpp.
References ScriptInterface::get_value().
Definition at line 153 of file packed_variant.hpp.
References ScriptInterface::get_value().
Definition at line 124 of file packed_variant.hpp.
Referenced by operator()().