Inviwo 0.9.12-pre
Inviwo documentation
|
#include <deserializer.h>
Public Member Functions | |
IndexedDeserializer (std::string_view key, std::string_view itemKey) | |
IndexedDeserializer< T > & | setMakeNew (std::function< T()> makeNewItem) |
IndexedDeserializer< T > & | onNew (std::function< void(T &)> onNewItem) |
IndexedDeserializer< T > & | onRemove (std::function< void(T &)> onRemoveItem) |
template<typename C > | |
void | operator() (Deserializer &d, C &container) |
A helper class for more advanced deserialization. useful when one has to call observer notifications for example. Example usage, serialize as usual
Then deserialize with notifications: