Program: gdcm
Module: $RCSfile: gdcmDebug.h,v $
Language: C++
- Date: $Date: 2005/07/20 14:49:42 $
- Version: $Revision: 1.37 $
+ Date: $Date: 2005/07/21 05:02:11 $
+ Version: $Revision: 1.38 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* proper input and proper output.
* (should not happen, not user controlled)
*
- * A debugging message is only show if the flag is on (DebugFlag)
+ * A debugging message is only shown if the flag is on (DebugFlag)
* This is static var and can be set at beginning of code:
* gdcm::Debug::SetDebugOn();
*/
Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/07/20 14:49:41 $
- Version: $Revision: 1.150 $
+ Date: $Date: 2005/07/21 05:02:11 $
+ Version: $Revision: 1.151 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
NewMeta();
}
+#ifndef GDCM_LEGACY_REMOVE
/**
* \brief Constructor Parses recursively the directory and creates the DicomDir
* or uses an already built DICOMDIR, depending on 'parseDir' value.
* @deprecated use : new DicomDir() + [ SetLoadMode(lm) + ] SetDirectoryName(name)
* or : new DicomDir() + SetFileName(name)
*/
-#ifndef GDCM_LEGACY_REMOVE
DicomDir::DicomDir(std::string const &fileName, bool parseDir ):
Document( )
{
return DoTheLoadingJob( );
}
-/// DEPRECATED : use SetDirectoryName(dn) instead
+/// DEPRECATED : use SetDirectoryName(dname) instead
void DicomDir::SetParseDir(bool parseDir)
{
ParseDir = parseDir;
Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/07/20 14:49:42 $
- Version: $Revision: 1.65 $
+ Date: $Date: 2005/07/21 05:02:11 $
+ Version: $Revision: 1.66 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// Sets the root Directory name to parse, recursively
void SetDirectoryName(std::string const &dirName)
{ ParseDir = true; if (Filename != dirName)
- Filename = dirName, IsDocumentModified = true; };
+ Filename = dirName, IsDocumentModified = true; }
/// Accessor to \ref Filename
virtual void SetFileName(std::string const &fileName)
{ ParseDir = false; if (Filename != fileName)
- Filename = fileName, IsDocumentModified = true;};
+ Filename = fileName, IsDocumentModified = true;}
/// DEPRECATED : use SetDirectoryName
GDCM_LEGACY( void SetParseDir(bool parseDir) );
// Meta
DicomDirMeta *NewMeta();
/// Returns a pointer to the DicomDirMeta for this DICOMDIR.
- DicomDirMeta *GetMeta() { return MetaElems; };
+ DicomDirMeta *GetMeta() { return MetaElems; }
// Patients
DicomDirPatient *NewPatient();
void SetEndMethodArgDelete ( DicomDir::Method *m );
/// GetProgress GetProgress
- float GetProgress() { return Progress; };
+ float GetProgress() { return Progress; }
/// AbortProgress AbortProgress
- void AbortProgress() { Abort = true; };
+ void AbortProgress() { Abort = true; }
/// IsAborted IsAborted
- bool IsAborted() { return Abort; };
+ bool IsAborted() { return Abort; }
// Write
bool WriteDicomDir(std::string const &fileName);
Program: gdcm
Module: $RCSfile: gdcmUtil.h,v $
Language: C++
- Date: $Date: 2005/07/18 10:20:20 $
- Version: $Revision: 1.58 $
+ Date: $Date: 2005/07/21 05:02:12 $
+ Version: $Revision: 1.59 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
static std::string DicomString(const char *s, size_t l);
static std::string DicomString(const char *s);
static bool DicomStringEqual(const std::string &s1, const char *s2);
- static bool CompareDicomString(const std::string &s1, const char *s2, int op);
+ static bool CompareDicomString(const std::string &s1,
+ const char *s2, int op);
static std::string GetMACAddress();
static std::string CreateUniqueUID(const std::string &root = "");