SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A common base class for properties of a given type. More...
#include <TypeMap.h>
Public Member Functions | |
virtual void | to_json (nlohmann::json &) const |
virtual void | from_json (const nlohmann::json &) |
virtual void | clear () |
virtual std::size_t | size () const |
A common base class for properties of a given type.
The TypeMapContainer class is a collection of instances of TypeMapEntry, necessitating a common base for their aggregate storage. An API for serialization is included to avoid having to upcast to a templated type.