/*========================================================================= Program: gdcm Module: $RCSfile: gdcmJPEGFragment.cxx,v $ Language: C++ Date: $Date: 2005/01/16 04:50:42 $ Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #include "gdcmJPEGFragment.h" namespace gdcm { /** * \brief Default constructor. */ JPEGFragment::JPEGFragment() { Offset = 0; Length = 0; } /** * \brief Print self. * @param indent Indentation string to be prepended during printing. * @param os Stream to print to. */ void JPEGFragment::Print( std::ostream &os, std::string indent ) { os << indent << "JPEG fragment: offset : " << Offset << " length : " << Length << std::endl; } } // end namespace gdcm