From c1a688e9fb56894fd51c9c322f80d00f022f0695 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 20 Jun 2017 16:47:48 +0300 Subject: [PATCH] 0028852: TDF_AttributeIterator should not be marked as "handle with care" Warning lines have been removed. Added a comment about usage of this class. --- src/TDF/TDF_AttributeIterator.hxx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 {