X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestTS.cxx;h=9c608cd78de4eae5c01bbab43c4279426d4195f1;hb=406e2b098680628a0ed34dee7a4a151e8d2c8122;hp=b757561ef0ee61203ae01157715a2296a686e25c;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/Testing/TestTS.cxx b/Testing/TestTS.cxx index b757561e..9c608cd7 100644 --- a/Testing/TestTS.cxx +++ b/Testing/TestTS.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestTS.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:31 $ - Version: $Revision: 1.10 $ + Date: $Date: 2007/05/23 14:18:06 $ + 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 @@ -20,7 +20,7 @@ int TestTS(int , char *[]) { - gdcm::TS *ts = gdcm::TS::New(); + GDCM_NAME_SPACE::TS *ts = GDCM_NAME_SPACE::TS::New(); // There should be ~150 entries ts->Print( std::cout ); @@ -70,10 +70,10 @@ int TestTS(int , char *[]) std::cout << ts->IsJPEG( "1.2.840.10008.1.2.5") << std::endl; std::cout << ts->GetSpecialTransferSyntax( ts->GetSpecialTransferSyntax( "1.2.840.10008.1.2.5")) << std::endl; - std::cout << gdcm::Global::GetTS()->IsRLELossless( "1.2.840.10008.1.2.5" ) + std::cout << GDCM_NAME_SPACE::Global::GetTS()->IsRLELossless( "1.2.840.10008.1.2.5" ) << std::endl; - bool ret = ts->GetValue( "" ) != gdcm::GDCM_UNFOUND; + bool ret = ts->GetValue( "" ) != GDCM_NAME_SPACE::GDCM_UNFOUND; ts->Delete();