X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDataEntry.h;h=d043126c482780cb7c73ed0f9055b6a9e07ac4d9;hb=a4cc79200b40be00c490fa4a9116dca626e1c5cf;hp=adcc8235450cf3582bf6a8875e2c2bee4fb2deaa;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmDataEntry.h b/src/gdcmDataEntry.h index adcc8235..d043126c 100644 --- a/src/gdcmDataEntry.h +++ b/src/gdcmDataEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.h,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:08 $ - Version: $Revision: 1.16 $ + Date: $Date: 2007/08/29 15:30:48 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,8 +16,8 @@ =========================================================================*/ -#ifndef GDCMDATAENTRY_H -#define GDCMDATAENTRY_H +#ifndef G_DCMDATAENTRY_H_ +#define _GDCMDATAENTRY_H_ #include "gdcmDocEntry.h" @@ -51,7 +51,8 @@ public: void Print(std::ostream &os = std::cout, std::string const &indent = ""); // Write - virtual void WriteContent(std::ofstream *fp, FileType filetype); + virtual void WriteContent(std::ofstream *fp, FileType filetype, + bool insideMetaElements, bool insideSequence); uint32_t ComputeFullLength(); // Set/Get data @@ -97,7 +98,7 @@ public: /// \brief Sets the state (Loaded, NotLoaded, UnFound, ...) of the DataEntry void SetState(const TValueState &state) { State = state; } /// \brief Returns the state (Loaded, NotLoaded, ...) of the DataEntry - const TValueState &GetState() const { return State; } + const TValueState &GetState() const { return State; } /// \brief true when value Entry not loaded bool IsNotLoaded() { return State == STATE_NOTLOADED; } /// \brief true if Entry not found