os << hex << tag->second->GetElement() << ") = " << dec;
os << tag->second->GetVR() << ", ";
os << tag->second->GetFourth() << ", ";
- os << tag->second->GetName() << "." << endl;
+ os << tag->second->GetName() << "." << std::endl;
}
}
os << " ==>\t[" << ts->GetValue(v) << "]";
}
}
- os << endl;
+ os << std::endl;
}
}
os << tag->first << ": ";
os << "[" << tag->second->GetValue() << "]";
os << "[" << tag->second->GetKey() << "]";
- os << "[" << tag->second->GetVR() << "]" << endl;
+ os << "[" << tag->second->GetVR() << "]" << std::endl;
}
}
void gdcmException::fatal(const char *from) throw() {
try {
- cerr << "Fatal: exception received in " << from
- << " while handling exception." << endl;
+ std::cerr << "Fatal: exception received in " << from
+ << " while handling exception." << std::endl;
exit(-1);
}
catch(...) {
try {
- cerr << "Fatal: exception received in Exception::fatal while handling exception."
- << endl;
+ std::cerr << "Fatal: exception received in Exception::fatal while handling exception."
+ << std::endl;
exit(-1);
}
catch(...) {
ostream& operator<<(ostream &os, const gdcmException &e) {
try {
- os << "Exception " << e.getName() << " thrown: " << e.getError() << endl;
+ os << "Exception " << e.getName() << " thrown: " << e.getError() << std::endl;
}
catch(...) {
gdcmException::fatal("operator<<(ostream &, const gdcmException&)");
// JPEG Image
- cout << "JPEG image" << endl;
+ cout << "JPEG image" << std::endl;
ftellRes=ftell(fp);
fread(&ItemTagGr,2,1,fp); // Reading (fffe) : Basic Offset Table Item Tag Gr
fread(&ItemTagEl,2,1,fp); // Reading (e000) : Basic Offset Table Item Tag El
// RLE Image
- cout << "RLE image" << endl;
+ cout << "RLE image" << std::endl;
long RleSegmentLength[15],fragmentLength;
guint32 nbRleSegments;
guint32 RleSegmentOffsetTable[15];
int
gdcmFile::gdcm_read_RLE_file (void * image_buffer) {
char * im = (char *)image_buffer;
- cout << "RLE image" << endl;
+ cout << "RLE image" << std::endl;
long RleSegmentLength[15],fragmentLength,uncompressedSegmentSize;;
long ftellRes, ln;