![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Visitor that converts a Variant to a PackedVariant. More...
#include <packed_variant.hpp>
Public Member Functions | |
| auto const & | objects () const |
| Map of objects whose references were replaced by ids. | |
| PackedVariant | operator() (const std::vector< Variant > &vec) const |
| template<typename K > | |
| PackedVariant | operator() (const std::unordered_map< K, Variant > &map) const |
| PackedVariant | operator() (const ObjectRef &so_ptr) const |
| template<class T > | |
| PackedVariant | operator() (T &&val) const |
Visitor that converts a Variant to a PackedVariant.
While packing, keeps track of all the ObjectRef values that were encountered and stores them. This also keeps the referees alive if there are no other owners.
Definition at line 62 of file packed_variant.hpp.
Map of objects whose references were replaced by ids.
Definition at line 68 of file packed_variant.hpp.
|
inline |
Definition at line 95 of file packed_variant.hpp.
References stream.
|
inline |
Definition at line 83 of file packed_variant.hpp.
References stream.
|
inline |
Definition at line 71 of file packed_variant.hpp.
References stream.
|
inline |
Definition at line 103 of file packed_variant.hpp.
References stream.