X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmSQItem.cxx;h=4717dcb0274a19e83af24ab424abdd93477cf543;hb=038a3b7f67769dc20b4c46f3c9dcad7cc63d1161;hp=85a6cd675fbcc0bf45fe59f8b9ec6feba9e5ee10;hpb=e8caac199c2683cb0f118c42c61dc6aec85b1eec;p=gdcm.git diff --git a/src/gdcmSQItem.cxx b/src/gdcmSQItem.cxx index 85a6cd67..4717dcb0 100644 --- a/src/gdcmSQItem.cxx +++ b/src/gdcmSQItem.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSQItem.cxx,v $ Language: C++ - Date: $Date: 2005/01/16 04:50:42 $ - Version: $Revision: 1.51 $ + Date: $Date: 2005/01/18 08:01:42 $ + Version: $Revision: 1.53 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -32,7 +32,6 @@ namespace gdcm //----------------------------------------------------------------------------- // Constructor / Destructor /** - * \ingroup SQItem * \brief Constructor from a given SQItem */ SQItem::SQItem(int depthLevel ) @@ -71,7 +70,7 @@ void SQItem::Print(std::ostream &os, std::string const &) s << " | " ; } } - //std::cout << s.str() << " --- SQItem number " << SQItemNumber << std::endl; + os << s.str() << " --- SQItem number " << SQItemNumber << std::endl; for (ListDocEntry::iterator i = DocEntries.begin(); i != DocEntries.end(); ++i) @@ -82,9 +81,9 @@ void SQItem::Print(std::ostream &os, std::string const &) os << s.str(); Entry->SetPrintLevel(PrintLevel); Entry->Print(os); - if ( SeqEntry *seqEntry = dynamic_cast(Entry) ) + if ( /* SeqEntry *seqEntry =*/ dynamic_cast(Entry) ) { - (void)seqEntry; //not used + //(void)seqEntry; //not used PrintEndLine = false; } if (PrintEndLine) @@ -95,7 +94,6 @@ void SQItem::Print(std::ostream &os, std::string const &) } /* - * \ingroup SQItem * \brief canonical Writer */ void SQItem::WriteContent(std::ofstream *fp, FileType filetype) @@ -187,7 +185,7 @@ bool SQItem::SetEntry(std::string const &val, uint16_t group, ValEntry* entry = 0; TagKey key = DictEntry::TranslateToKey(group, elem); - // we assume a Public Dictionnary *is* loaded + // we assume a Public Dictionary *is* loaded Dict *pubDict = Global::GetDicts()->GetDefaultPubDict(); // if the invoked (group,elem) doesn't exist inside the Dictionary // we create a VirtualDictEntry @@ -276,7 +274,7 @@ void SQItem::Initialize() } /** - * \brief Get the next entry whil visiting the chained list + * \brief Get the next entry while visiting the chained list * \return The next DocEntry if found, otherwhise NULL */ DocEntry *SQItem::GetNextEntry()