From: jpr Date: Wed, 4 Jul 2007 15:38:53 +0000 (+0000) Subject: Shorter strings X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6907ad32812a1b6dc4f9491e111b527a0e1641c1;p=gdcm.git Shorter strings --- diff --git a/gdcmPython/gdcm.i b/gdcmPython/gdcm.i index b18b5ee5..f6afde35 100644 --- a/gdcmPython/gdcm.i +++ b/gdcmPython/gdcm.i @@ -164,13 +164,13 @@ typedef unsigned long long uint64_t; %ignore GDCM_VRUNKNOWN; %ignore GDCM_FILESEPARATOR; -%constant const char *UNKNOWN = "GDCM_NAME_SPACE::Unknown"; -%constant const char *UNFOUND = "GDCM_NAME_SPACE::Unfound"; -%constant const char *BINLOADED = "GDCM_NAME_SPACE::Binary data loaded"; -%constant const char *NOTLOADED = "GDCM_NAME_SPACE::NotLoaded"; -%constant const char *UNREAD = "GDCM_NAME_SPACE::UnRead"; -%constant const char *GDCM_NOTASCII = "GDCM_NAME_SPACE::NotAscii"; -%constant const char *GDCM_PIXELDATA = "GDCM_NAME_SPACE::Pixel Data to be loaded"; +%constant const char *UNKNOWN = "GDCM::Unknown"; +%constant const char *UNFOUND = "GDCM::Unfound"; +%constant const char *BINLOADED = "GDCM::Binary data loaded"; +%constant const char *NOTLOADED = "GDCM::NotLoaded"; +%constant const char *UNREAD = "GDCM::UnRead"; +%constant const char *GDCM_NOTASCII = "GDCM::NotAscii"; +%constant const char *GDCM_PIXELDATA = "GDCM::Pixel Data to be loaded"; %constant const char *VRUNKNOWN = " "; %constant const char GDCM_FILESEPARATOR = '\\'; //////////////////////////////////////////////////////////////////////////// diff --git a/src/gdcmGlobal.cxx b/src/gdcmGlobal.cxx index 3c6f927f..ef16d2b9 100644 --- a/src/gdcmGlobal.cxx +++ b/src/gdcmGlobal.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmGlobal.cxx,v $ Language: C++ - Date: $Date: 2007/06/19 13:09:45 $ - Version: $Revision: 1.35 $ + Date: $Date: 2007/07/04 15:38:53 $ + 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 @@ -35,13 +35,13 @@ namespace GDCM_NAME_SPACE /// Therefore the actual initialization is done in a cxx file (avoid /// duplicated symbol), and an extern is used in gdcmCommon.h -const std::string GDCM_UNKNOWN = "GDCM_NAME_SPACE::Unknown"; -const std::string GDCM_UNFOUND = "GDCM_NAME_SPACE::Unfound"; -const std::string GDCM_BINLOADED = "GDCM_NAME_SPACE::Binary data loaded"; -const std::string GDCM_NOTLOADED = "GDCM_NAME_SPACE::NotLoaded"; -const std::string GDCM_UNREAD = "GDCM_NAME_SPACE::UnRead"; -const std::string GDCM_NOTASCII = "GDCM_NAME_SPACE::NotAscii"; -const std::string GDCM_PIXELDATA = "GDCM_NAME_SPACE::Pixel Data to be loaded"; +const std::string GDCM_UNKNOWN = "GDCM::Unknown"; +const std::string GDCM_UNFOUND = "GDCM::Unfound"; +const std::string GDCM_BINLOADED = "GDCM::Binary data loaded"; +const std::string GDCM_NOTLOADED = "GDCM::NotLoaded"; +const std::string GDCM_UNREAD = "GDCM::UnRead"; +const std::string GDCM_NOTASCII = "GDCM::NotAscii"; +const std::string GDCM_PIXELDATA = "GDCM::Pixel Data to be loaded"; const char GDCM_VRUNKNOWN[2] = {' ',' '}; // avoid useless std::string stuff