Program: gdcm
Module: $RCSfile: gdcmDocument.cxx,v $
Language: C++
- Date: $Date: 2005/10/21 07:38:58 $
- Version: $Revision: 1.302 $
+ Date: $Date: 2005/10/23 15:28:26 $
+ Version: $Revision: 1.303 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
return;
}
- // Read the datas
+ // Read the data
Fp->read((char*)data, l);
if ( Fp->fail() || Fp->eof() )
{
}
case 8:
{
- gdcmWarningMacro("Can't swap 64 bits datas");
+ gdcmWarningMacro("Can't swap 64 bits data");
/* uint64_t *data64 = (uint64_t *)data;
for(i=0;i<l/vrLgth;i++)
data64[i] = SwapLongLong(data64[i]);*/
// (no SQ, OW, UT in group 0x0002;)
if ( vr == "OB" )
{
- // explicit VR AND OB, OW, SQ, UT : 4 more bytes
+ // explicit VR AND (OB, OW, SQ, UT) : 4 more bytes
groupLength += 4;
}
//}
if ( newDataEntry )
{
//////////////////////////// DataEntry
+
vr = newDocEntry->GetVR();
+
+ // Useless checking, now !
+ /*
if ( Filetype == ExplicitVR &&
!Global::GetVR()->IsVROfBinaryRepresentable(vr) )
{
////// No DataEntry: should mean UNKOWN VR
gdcmWarningMacro( std::hex << newDocEntry->GetGroup()
<< "|" << newDocEntry->GetElement()
- << " : No DataEntry."
- "Probably unknown VR.");
+ << " : unknown VR."
+ " Probably 'Implicit VR' entry within "
+ "an explicit VR 'document'.");
}
+ */
if ( !set->AddEntry( newDataEntry ) )
{
Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2005/10/21 16:00:55 $
- Version: $Revision: 1.288 $
+ Date: $Date: 2005/10/23 15:26:43 $
+ Version: $Revision: 1.289 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// These are the deprecated method that one day should be removed (after the next release)
#ifndef GDCM_LEGACY_REMOVE
-/* *
- * \brief Constructor (DEPRECATED : temporaryly kept not to break the API)
- * @param filename name of the file whose header we want to analyze
- * @deprecated do not use any longer
+/*
+ * brief Constructor (DEPRECATED : temporaryly kept not to break the API)
+ * param filename name of the file whose header we want to analyze
+ * deprecated do not use any longer
*/
File::File( std::string const &filename )
:Document( )
Load( ); // gdcm::Document is first Loaded, then the 'File part'
}
-/* *
- * \brief Loader. (DEPRECATED : temporaryly kept not to break the API)
- * @param fileName file to be open for parsing
- * @return false if file cannot be open or no swap info was found,
+/*
+ * \ brief Loader. (DEPRECATED : temporaryly kept not to break the API)
+ * @ param fileName file to be open for parsing
+ * @ return false if file cannot be open or no swap info was found,
* or no tag was found.
- * @deprecated Use the Load() [ + SetLoadMode() ] + SetFileName() functions instead
+ * @ deprecated Use the Load() [ + SetLoadMode() ] + SetFileName() functions instead
*/
bool File::Load( std::string const &fileName )
{