SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::common::TypeMapEntryBase Class Reference

A common base class for properties of a given type. More...

#include <TypeMap.h>

Inheritance diagram for smtk::common::TypeMapEntryBase:
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: