Program: gdcm
Module: $RCSfile: gdcmDocument.h,v $
Language: C++
- Date: $Date: 2006/07/10 09:41:46 $
- Version: $Revision: 1.142 $
+ Date: $Date: 2007/08/22 16:14:04 $
+ Version: $Revision: 1.146 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMDOCUMENT_H
-#define GDCMDOCUMENT_H
+#ifndef _GDCMDOCUMENT_H_
+#define _GDCMDOCUMENT_H_
#include "gdcmVR.h"
#include "gdcmDict.h"
#include <list>
#include <fstream>
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
class SeqEntry;
class Dict;
// Read
void ParseDES(DocEntrySet *set, long offset, long l_max, bool delim_mode);
- void ParseSQ (SeqEntry *seq, long offset, long l_max, bool delim_mode);
+ bool ParseSQ (SeqEntry *seq, long offset, long l_max, bool delim_mode);
void LoadDocEntry (DocEntry *e, bool forceLoad = false);
void FindDocEntryLength (DocEntry *e) throw ( FormatError );
char *PtrBegBuffer;
/// \brief to avoid time consuming ftellg
size_t CurrentOffsetPosition;
+ /// \brief to indicate if last supposed to be UN DataElement is not
+ /// (according to a private Dicom dictionary)
+ bool changeFromUN;
+ /// \brief whether an unexpected EOF was encountered
+ bool UnexpectedEOF;
};
} // end namespace gdcm