Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2006/04/11 16:03:26 $
- Version: $Revision: 1.318 $
+ Date: $Date: 2006/05/30 08:18:50 $
+ Version: $Revision: 1.319 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
*/
VRKey PixelVR;
- // 8 bits allocated is a 'O Bytes' , as well as 24 (old ACR-NEMA RGB)
- // more than 8 (i.e 12, 16) is a 'O Words'
+ // 8 bits allocated is a 'OB(ytes)' , as well as 24 (old ACR-NEMA RGB)
+ // more than 8 (i.e 12, 16) is a 'OW(ords)'
if ( GetBitsAllocated() == 8 || GetBitsAllocated() == 24 )
PixelVR = "OB";
else
it != UserAnonymizeList.end();
++it)
{
+
+ std::cout << "File::AnonymizeNoLoad -------" << std::hex <<(*it).Group <<"|"<<
+ (*it).Elem
+ << "[" << (*it).Value << "] "<< std::endl;
d = GetDocEntry( (*it).Group, (*it).Elem);
if ( d == NULL)
offset = d->GetOffset();
lgth = d->GetLength();
+
+ std::cout << "lgth " << lgth << " valLgth " << valLgth << std::endl;
if (valLgth < lgth)
{
spaces = new std::string( lgth-valLgth, ' ');
(*it).Value = (*it).Value + *spaces;
+ std::cout << "[" << (*it).Value << "] " << lgth << std::endl;
delete spaces;
}
fp->seekp( offset, std::ios::beg );
// These are the deprecated method that one day should be removed (after the next release)
-#ifndef GDCM_LEGACY_REMOVE
+//#ifndef GDCM_LEGACY_REMOVE
/*
* \ brief Loader. (DEPRECATED : temporaryly kept not to break the API)
* @ param fileName file to be open for parsing
* or no tag was found.
* @deprecated Use the Load() [ + SetLoadMode() ] + SetFileName() functions instead
*/
+ /*
bool File::Load( std::string const &fileName )
{
GDCM_LEGACY_REPLACED_BODY(File::Load(std::string), "1.2",
return DoTheLoadingJob( );
}
#endif
-
+*/
//-----------------------------------------------------------------------------
// Print
Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2006/05/12 19:09:55 $
- Version: $Revision: 1.127 $
+ Date: $Date: 2006/05/30 08:18:50 $
+ Version: $Revision: 1.128 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
static File *New() {return new File();}
// Loading
- GDCM_LEGACY(bool Load( std::string const &filename ))
+ // GDCM_LEGACY(bool Load( std::string const &filename ))
bool Load();
// Standard values and informations contained in the header
bool IsReadable();