itImage = ((*itSerie)->GetDicomDirImages()).begin();
while (itImage != (*itSerie)->GetDicomDirImages().end() ) {
(*itImage)->ResetBoundaries(1);
- ++itImage;
- }
- ++itSerie;
- }
- ++itStudy;
- }
- ++itPatient;
+ ++itImage;
+ }
+ ++itSerie;
+ }
+ ++itStudy;
+ }
+ ++itPatient;
}
}
//PixelElement->SetPrintLevel(2);
//PixelElement->Print();
-
Header->Write(fp1, type);
// --------------------------------------------------------------
* \brief Sets the value (string)
* of the current Dicom Header Entry
*/
- inline void SetValue(std::string val) { value = val; };
+ inline void SetValue(std::string val) { value = val; };
/**
* \ingroup gdcmHeaderEntry
// upwards again to fffe,e000
if (fin()== (--(plistEntries->end())) ) // Don't try anything more when end
return; // of Chained List is reached
-
-
+
for( i=j=fin();
((*i)->GetGroup() != 0xfffe) && ((*i)->GetElement() != 0xe000);
--i,j--) {
TagHeaderEntryHT *ptagHT, ListTag *plistEntries);
~gdcmObject(void);
-
void FillObject(std::list<gdcmElement> elemList);
/**
gdcmHeaderEntry* a;
a = GetHeaderEntryByNumber( Group, Elem);
if (a == NULL) {
- gdcmHeaderEntry *a = NewHeaderEntryByNumber(Group, Elem);
+ a =NewHeaderEntryByNumber(Group, Elem);
if (a == NULL)
return NULL;
AddHeaderEntry(a);
bool gdcmParser::WriteEntries(FILE *_fp,FileType type)
{
// TODO (?) tester les echecs en ecriture (apres chaque fwrite)
-
+
for (ListTag::iterator tag2=listEntries.begin();
tag2 != listEntries.end();
++tag2)