Hi Max,

 

maybe you are looking for this:

 

http://docs.mitk.org/2016.03/classmitk_1_1DataStorage.html#a495d1f7f1ad8d76f5f583478ea9bfeb4

 

dateStorage->GetDerivations(parentNode, NULL, true); 

 

This will get you a set of direct child nodes of the parentNode with no 
predicate.

 

Regards,

Tobias

 

Von: Max Borrmann [mailto:max.borrm...@gmx.net] 
Gesendet: Freitag, 24. Juni 2016 10:54
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] parents dependency

 

Dear mitk-users,

I want to know, if there is an easy way finding all children of a parent in a 
DataStorage without iterating through the whole DataStorage several times.

 

Thanks for your help!

Max Borrmann

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to