0028852: TDF_AttributeIterator should not be marked as "handle with care"
authormpv <mpv@opencascade.com>
Tue, 20 Jun 2017 13:47:48 +0000 (16:47 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 22 Jun 2017 09:38:27 +0000 (12:38 +0300)
Warning lines have been removed.
Added a comment about usage of this class.

src/TDF/TDF_AttributeIterator.hxx

index 4688545..4a1c831 100644 (file)
 #include <TDF_Label.hxx>
 #include <TDF_LabelNodePtr.hxx>
 
-// DO NOT USE THIS CLASS WITHOUT AUTHORIZATION!
-//
 // This class provides a way to iterates on the
 // up-to-date (current) valid attributes of a label.
 //
-// Even a Forgotten attribute may be found if this
+// This class should not be used for standard attributes workflow.
+// Application allways knows what to search at particular label.
+// So, use IsAttribute and FindAttibute methods of
+// TDF_Label to check and get attributes in usual way.
+// This class may be used for processing of content of labels
+// in generic way, like copy-tool, specific save/restore algorithms,
+// etc.
+//
+// Even a forgotten attribute may be found if this
 // option is set. To use this possibility, look at
 // the constructor.
-// 
-// Sorry: nobody needs this iterator but its friends!
 
 class TDF_AttributeIterator  {