![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <versionconverter.h>
Public Member Functions | |
| template<typename T> | |
| TraversingVersionConverter (T *obj, bool(T::*fPtr)(TxElement *)) | |
| TraversingVersionConverter (std::function< bool(TxElement *)> fun) | |
| virtual bool | convert (TxElement *root) |
A version converter that traverses all child nodes calling a function for each node. The traversal stops immediately when the function returns false.
|
virtual |
Traverse all child nodes starting at root. The function provided in the constructor will be called for each traversed node. If the function returns false, the traversal is stopped.
| root | root node of the traversal |
root were traversed, false if the traversal was stopped Implements inviwo::VersionConverter.