delete[] imageData;
delete f1;
delete f2;
- delete PixelData;
+ //delete PixelData; //Does GetImageData return the same pointer ?
+ (void)PixelData;
return 0;
}
Program: gdcm
Module: $RCSfile: gdcmDict.cxx,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:47 $
- Version: $Revision: 1.35 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.36 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
gdcmDict::gdcmDict(std::string & FileName) {
guint16 group, element;
- char buff[1024];
+ //char buff[1024];
TagName vr;
TagName fourth;
TagName name;
Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.h,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:47 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
public:
gdcmDocEntrySet(int depth = 0);
- ~gdcmDocEntrySet(void);
+ virtual ~gdcmDocEntrySet();
/// \brief adds any type of entry to the entry set (pure vitual)
virtual bool AddEntry(gdcmDocEntry *Entry) = 0; // pure virtual
/// \brief Gets the depth level of a Dicom Header Entry embedded in a
/// SeQuence
- inline int GetDepthLevel(void) {return(SQDepthLevel);}
+ inline int GetDepthLevel(void) { return SQDepthLevel; }
/// \brief Sets the depth level of a Dicom Header Entry embedded in a
/// SeQuence
- inline void SetDepthLevel(int depth) {SQDepthLevel = depth;}
+ inline void SetDepthLevel(int depth) { SQDepthLevel = depth; }
protected:
/// \brief Build a new Element Value from all the low level arguments.
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.cxx,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:48 $
- Version: $Revision: 1.12 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.13 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::ostringstream s,s2;
std::string vr;
- unsigned short int g, e;
- long lgth;
- size_t o;
- char greltag[10]; //group element tag
- char st[20];
+ //unsigned short int g, e; //not used
+ //long lgth; //not used
+ //size_t o; //not used
+ //char greltag[10]; //group element tag //not used
+ //char st[20]; //not used
// First, Print the Dicom Element itself.
SetPrintLevel(2);
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.h,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:48 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
public:
gdcmSeqEntry(gdcmDictEntry* e, int depth);
- ~gdcmSeqEntry(void);
+ virtual ~gdcmSeqEntry();
virtual void Print(std::ostream &os = std::cout);
/// \brief returns the SQITEM chained List for this SeQuence.
- inline ListSQItem &GetSQItems() {return items;};
+ inline ListSQItem &GetSQItems() { return items; }
/// \brief Sets the delimitor mode
inline void SetDelimitorMode(bool dm) { delimitor_mode = dm;}
Program: gdcm
Module: $RCSfile: gdcmTS.cxx,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:48 $
- Version: $Revision: 1.18 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::ifstream from(filename.c_str());
dbg.Error(!from, "gdcmTS::gdcmTS: can't open dictionary",filename.c_str());
- char buff[1024];
+ //char buff[1024]; //not used
std::string key;
std::string name;
Program: gdcm
Module: $RCSfile: gdcmValEntry.cxx,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:48 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
void gdcmValEntry::Print(std::ostream & os) {
std::ostringstream s;
- size_t o;
+ //size_t o; //not used
unsigned short int g, e;
char st[20];
TSKey v;
Program: gdcm
Module: $RCSfile: gdcmValEntry.h,v $
Language: C++
- Date: $Date: 2004/06/20 18:08:48 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2004/06/21 04:43:02 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
gdcmValEntry(gdcmDictEntry* e);
gdcmValEntry(gdcmDocEntry* d);
- ~gdcmValEntry(void);
+ virtual ~gdcmValEntry();
/// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted into a
/// 'string', if it's stored as an integer in the header of the