Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::util::IdentifiedDeserializer< K, T > Class Template Reference

Public Member Functions

 IdentifiedDeserializer (std::string_view key, std::string_view itemKey)
 
IdentifiedDeserializer< K, T > & setGetId (std::function< const K &(const T &)> getID)
 
IdentifiedDeserializer< K, T > & setMakeNew (std::function< T()> makeNewItem)
 
IdentifiedDeserializer< K, T > & setNewFilter (std::function< bool(const K &id, size_t ind)> filter)
 
IdentifiedDeserializer< K, T > & onNew (std::function< void(T &)> onNewItem)
 
IdentifiedDeserializer< K, T > & onNewIndexed (std::function< void(T &, size_t)> onNewItem)
 
IdentifiedDeserializer< K, T > & onRemove (std::function< void(const K &)> onRemoveItem)
 
IdentifiedDeserializer< K, T > & onMove (std::function< void(T &, size_t)> onMoveItem)
 
template<typename C >
void operator() (Deserializer &d, C &container)
 

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