1 /*=========================================================================
4 Module: $RCSfile: gdcmTestConvertTypes.cxx,v $
6 Date: $Date: 2005/05/29 23:06:41 $
7 Version: $Revision: 1.1 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #define TYPE_UNSIGNED___INT64 unsigned __int64
21 typedef GDCM_TEST_CONVERT_TYPE_TO TypeTo;
22 typedef GDCM_TEST_CONVERT_TYPE_FROM TypeFrom;
24 void function(TypeTo& l, TypeFrom const& r)
26 l = static_cast<TypeTo>(r);
31 TypeTo tTo = TypeTo();
32 TypeFrom tFrom = TypeFrom();