![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Visitor that converts a PackedVariant to a Variant. More...
#include <packed_variant.hpp>
Collaboration diagram for ScriptInterface::UnpackVisitor:Public Member Functions | |
| UnpackVisitor (std::unordered_map< ObjectId, ObjectRef > const &objects) | |
| Variant | operator() (const std::vector< PackedVariant > &vec) const |
| template<typename K > | |
| Variant | 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 113 of file packed_variant.hpp.
|
inlineexplicit |
Definition at line 116 of file packed_variant.hpp.
Definition at line 148 of file packed_variant.hpp.
References objects.
|
inline |
Definition at line 132 of file packed_variant.hpp.
References stream.
|
inline |
Definition at line 120 of file packed_variant.hpp.
References stream.
Definition at line 143 of file packed_variant.hpp.
References stream.
Definition at line 114 of file packed_variant.hpp.
Referenced by operator()().