[Smtk-developers] Attribute "paths"

David Thompson david.thompson at kitware.com
Mon Jun 8 16:17:19 EDT 2015


Hi all,

I don't see a way in SMTK to specify the path to an attribute item; one can ask Attribute::find() to search for a given name but as I understand it, two items are allowed to  share the same name as long as they aren't owned by the same parent item.

It would be nice to have something like

   AttributePtr circle;
   circle->item("construction method/three points/point 1");
   // or even:
   circle->item("construction method/three points/point 1", '/');

Would anyone object to me adding this? I could use it as I develop operator logging.

	Thanks,
	David


More information about the Smtk-developers mailing list