Program: gdcm
Module: $RCSfile: gdcmDocument.cxx,v $
Language: C++
- Date: $Date: 2004/06/22 14:07:05 $
- Version: $Revision: 1.23 $
+ Date: $Date: 2004/06/22 14:57:10 $
+ Version: $Revision: 1.24 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
NewValEntry->SetDepthLevel(depth);
set->AddEntry(NewValEntry);
LoadDocEntry(NewValEntry);
- if (/*!delim_mode && */NewValEntry->isItemDelimitor())
+ if (NewValEntry->isItemDelimitor())
break;
if ( !delim_mode && ftell(fp)-offset >= l_max)
{
(void)fseek(fp, (long)(entry->GetReadLength()), SEEK_CUR);
}
-/**
- * \brief Loads the value for a a given VLEntry
- * \warning NOT end user intended method !
- * @param entry
- */
-void gdcmDocument::LoadVLEntry(gdcmDocEntry *entry)
-{
- //SkipBytes(entry->GetLength());
- LoadDocEntry(entry);
-}
/**
* \brief When the length of an element value is obviously wrong (because
* the parser went Jabberwocky) one can hope improving things by
Program: gdcm
Module: $RCSfile: gdcmDocument.h,v $
Language: C++
- Date: $Date: 2004/06/22 13:47:33 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2004/06/22 14:57:11 $
+ Version: $Revision: 1.14 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
bool ReplaceIfExistByNumber (char *Value, guint16 Group, guint16 Elem);
virtual void *LoadEntryVoidArea (guint16 Group, guint16 Element);
- void LoadVLEntry (gdcmDocEntry *entry);
// System access
guint16 SwapShort(guint16); // needed by gdcmFile
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.cxx,v $
Language: C++
- Date: $Date: 2004/06/22 13:59:48 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2004/06/22 14:57:11 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Print
/*
- * \ingroup gdcmSeqEntry
* \brief canonical Printer
*/
void gdcmSeqEntry::Print(std::ostream &os){
cc != GetSQItems().end();
++cc) {
std::cout << "Et un SQItem !" << std::endl;
- (*cc)->Write(fp, filetype);
+ (*cc)->Write(fp, filetype); // Don't remove param filetype !
}
}
//-----------------------------------------------------------------------------
SQDepthLevel = depth;
}
-/// \brief return a pointer to th SQItem referenced by its ordinal number
+/// \brief return a pointer to the SQItem referenced by its ordinal number
/// (returns the first one if ordinal number is <0
/// returns the last one if ordinal number is > item number
if (count==nb)
return (*cc);
}
- return (*(items.end()));
+ return (*(items.end())); // Euhhhhh ?!? Is this the last one . FIXME
}
//-----------------------------------------------------------------------------
// Protected