[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 02a9a9b5cde88985288e22dc11f4b0d456
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2017-02-17 11:13:40
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 02a9a9b5cde88985288e22dc11f4b0d45634eb2d (commit)
from 39f36a17ce550b96b9a6c006dbd06b750e54f69a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/02a9a9b5cde88985288e22dc11f4b0d45634eb2d/
commit 02a9a9b5cde88985288e22dc11f4b0d45634eb2d
Author: Mathieu Malaterre <mat...@gm...>
Date: Fri Feb 17 12:13:22 2017 +0100
Reduce verbosity by default
diff --git a/Testing/Source/InformationObjectDefinition/Cxx/TestTableReader.cxx b/Testing/Source/InformationObjectDefinition/Cxx/TestTableReader.cxx
index bf6849f..3f1529c 100644
--- a/Testing/Source/InformationObjectDefinition/Cxx/TestTableReader.cxx
+++ b/Testing/Source/InformationObjectDefinition/Cxx/TestTableReader.cxx
@@ -17,7 +17,7 @@
// generated file:
#include "gdcmTables.h"
-void TestReadTable(const char *filename)
+void TestReadTable(const char *filename, bool dump = false )
{
gdcm::Defs defs;
gdcm::TableReader tr(defs);
@@ -26,12 +26,15 @@ void TestReadTable(const char *filename)
const gdcm::Modules &modules = defs.GetModules();
+ if(dump)
std::cout << modules << std::endl;
const gdcm::Macros ¯os = defs.GetMacros();
+ if(dump)
std::cout << macros << std::endl;
const gdcm::IODs &iods = defs.GetIODs();
+ if(dump)
std::cout << iods << std::endl;
}
@@ -40,7 +43,7 @@ int TestTableReader(int argc, char *argv[])
if( argc == 2 )
{
const char *filename = argv[1];
- TestReadTable(filename);
+ TestReadTable(filename, true);
return 0;
}
-----------------------------------------------------------------------
Summary of changes:
Testing/Source/InformationObjectDefinition/Cxx/TestTableReader.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|