From: mpv Date: Tue, 20 Jun 2017 13:47:48 +0000 (+0300) Subject: 0028852: TDF_AttributeIterator should not be marked as "handle with care" X-Git-Tag: V7_2_0_beta~72 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c1a688e9fb56894fd51c9c322f80d00f022f0695;p=occt-copy.git 0028852: TDF_AttributeIterator should not be marked as "handle with care" Warning lines have been removed. Added a comment about usage of this class. --- diff --git a/src/TDF/TDF_AttributeIterator.hxx b/src/TDF/TDF_AttributeIterator.hxx index 4688545152..4a1c831e17 100644 --- a/src/TDF/TDF_AttributeIterator.hxx +++ b/src/TDF/TDF_AttributeIterator.hxx @@ -26,16 +26,20 @@ #include #include -// 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 {