X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDataEntry.h;h=d043126c482780cb7c73ed0f9055b6a9e07ac4d9;hb=a212c7275fb6052e882a981534b966c09ecc1d4e;hp=0a891f5eff3ff858c5ad347e440a63abeb11f6c2;hpb=6834e8e3efa919645cab0d8a444a5932e1e8d9ce;p=gdcm.git diff --git a/src/gdcmDataEntry.h b/src/gdcmDataEntry.h index 0a891f5e..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: 2006/07/10 08:27:28 $ - Version: $Revision: 1.15 $ + 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,15 +16,15 @@ =========================================================================*/ -#ifndef GDCMDATAENTRY_H -#define GDCMDATAENTRY_H +#ifndef G_DCMDATAENTRY_H_ +#define _GDCMDATAENTRY_H_ #include "gdcmDocEntry.h" #include // for GetDSValue #include -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** @@ -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