X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmContentEntry.h;h=8cb66a0a56d0586995df25e2584762269e20b908;hb=4491b768d9529a24608e44d6ef77dc235d37dbb7;hp=95c87d243687e6576d1567c390490dfb98fea70f;hpb=7cbed4e7f082b4d2df1edda48bb3fde175a60b6e;p=gdcm.git diff --git a/src/gdcmContentEntry.h b/src/gdcmContentEntry.h index 95c87d24..8cb66a0a 100644 --- a/src/gdcmContentEntry.h +++ b/src/gdcmContentEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmContentEntry.h,v $ Language: C++ - Date: $Date: 2005/01/25 15:21:20 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/01/30 17:30:57 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -40,26 +40,25 @@ public: virtual void WriteContent(std::ofstream *fp, FileType filetype) = 0; // Accessors are protected, not to be invoked by end user + /// Sets the value (string) of the current Dicom entry virtual void SetValue(std::string const &val) { Value = val; }; - void SetValueOnly(std::string const &val) { Value = val; }; - /// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted /// into a 'string', event if it's physically stored on disk as an integer std::string const &GetValue() const { return Value; }; -protected: + void Copy(DocEntry *doc); +protected: // Contructors are protected, not to be invoked by end user. ContentEntry(DictEntry *e); ContentEntry(DocEntry *d); // Destructor is protected, not to be invoked by end user. ~ContentEntry(); - + private: // Members : - /// \brief Dicom entry value, internaly represented as a std::string. /// The Value Representation (\ref VR) is independently used /// in order to interpret (decode) this field.