comparison Core/DicomFormat/DicomMap.cpp @ 3695:898903022836 storage-commitment

integration mainline->storage-commitment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Feb 2020 10:39:55 +0100
parents 9dac85e807c2 a9ce35d67c3c
children 56f2397f027a
comparison
equal deleted inserted replaced
3681:9dac85e807c2 3695:898903022836
982 { 982 {
983 return value->ParseFloat(result); 983 return value->ParseFloat(result);
984 } 984 }
985 } 985 }
986 986
987 bool DicomMap::ParseFirstFloat(float& result,
988 const DicomTag& tag) const
989 {
990 const DicomValue* value = TestAndGetValue(tag);
991
992 if (value == NULL)
993 {
994 return false;
995 }
996 else
997 {
998 return value->ParseFirstFloat(result);
999 }
1000 }
1001
987 bool DicomMap::ParseDouble(double& result, 1002 bool DicomMap::ParseDouble(double& result,
988 const DicomTag& tag) const 1003 const DicomTag& tag) const
989 { 1004 {
990 const DicomValue* value = TestAndGetValue(tag); 1005 const DicomValue* value = TestAndGetValue(tag);
991 1006