Inviwo
0.9.10.1
Inviwo documentation
|
#include <deserializer.h>
Public Member Functions | |
IndexedDeserializer (std::string key, std::string 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: