X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElValSet.cxx;h=73a4930e6d500aeb957055d5328c2ab977f55a0a;hb=5e17bc4d219d5136ce530159f182528d4f842eae;hp=a672453712cd52d6536a706c37142c6d6bce7657;hpb=b6e445adae1963909952eeef10ea7c1d2e0d3e0d;p=gdcm.git diff --git a/src/gdcmElValSet.cxx b/src/gdcmElValSet.cxx index a6724537..73a4930e 100644 --- a/src/gdcmElValSet.cxx +++ b/src/gdcmElValSet.cxx @@ -79,7 +79,7 @@ void gdcmElValSet::Print(ostream & os) { os << tag->first << ": "; os << " lgr : " << tag->second->GetLength(); os << ", Offset : " << o; - os << " x(" << hex << o << dec << ") "; + os << " x(" << std::hex << o << std::dec << ") "; os << "\t[" << tag->second->GetVR() << "]"; os << "\t[" << tag->second->GetName() << "]"; os << "\t[" << d2 << "]"; @@ -94,7 +94,7 @@ void gdcmElValSet::Print(ostream & os) { os << " ==>\t[" << ts->GetValue(v) << "]"; } } - os << endl; + os << std::endl; } } @@ -109,7 +109,7 @@ void gdcmElValSet::PrintByName(ostream & os) { os << tag->first << ": "; os << "[" << tag->second->GetValue() << "]"; os << "[" << tag->second->GetKey() << "]"; - os << "[" << tag->second->GetVR() << "]" << endl; + os << "[" << tag->second->GetVR() << "]" << std::endl; } } @@ -405,7 +405,7 @@ void gdcmElValSet::WriteElements(FileType type, FILE * _fp) { val = tag2->second->GetValue().c_str(); vr = tag2->second->GetVR(); - // cout << "Tag "<< hex << gr << " " << el << "\n"; + // std::cout << "Tag "<< std::hex << gr << " " << el << std::endl; if ( type == ACR ) { if (gr < 0x0008) continue; // ignore pure DICOM V3 groups