+2005-01-15 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
+ * Removed the Print/indent/default parameter mess. There is absolutely no
+ reason to have to methods, moreover with the second takeing the ostream as
+ *SECOND* parameter. This was clearly a bad hack to get things compile.
+
2005-01-15 Mathieu Malaterre <Mathieu.Malaterre@creatis.insa-lyon.fr>
* Complete rewrite of the GetMacAddress code. Now the code is *much*
smaller (no more MacOSX specific crap). A lot more POSIX oriented.
Program: gdcm
Module: $RCSfile: gdcmBase.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 20:25:17 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2005/01/16 04:50:40 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Print all the object
* @param os The output stream to be written to.
*/
-void Base::Print(std::ostream &)
+void Base::Print(std::ostream &, std::string const & )
{
}
Program: gdcm
Module: $RCSfile: gdcmBase.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:37 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2005/01/16 04:50:40 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Base( );
virtual ~Base();
- virtual void Print(std::ostream &os = std::cout);
+ virtual void Print(std::ostream &os = std::cout, std::string const & indent = "" );
/// \brief Sets the print level for the Dicom Header Elements
/// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
Program: gdcm
Module: $RCSfile: gdcmBinEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 17:40:04 $
- Version: $Revision: 1.52 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.53 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief canonical Printer
*/
-void BinEntry::Print(std::ostream &os)
+void BinEntry::Print(std::ostream &os, std::string const & )
{
os << "B ";
DocEntry::Print(os);
Program: gdcm
Module: $RCSfile: gdcmBinEntry.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:37 $
- Version: $Revision: 1.30 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.31 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
~BinEntry();
- void Print( std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent( std::ofstream *fp, FileType ft);
/// \brief Returns the area value of the current Dicom Header Entry
Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 22:20:11 $
- Version: $Revision: 1.101 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.102 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/**
* \brief Canonical Printer
*/
-void DicomDir::Print(std::ostream &os)
+void DicomDir::Print(std::ostream &os, std::string const & )
{
if( MetaElems )
{
Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.45 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.46 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
~DicomDir();
/// \brief canonical Printer
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
/// Informations contained in the parser
virtual bool IsReadable();
Program: gdcm
Module: $RCSfile: gdcmDicomDirImage.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 15:43:18 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Prints the Object
* @return
*/
-void DicomDirImage::Print(std::ostream &os)
+void DicomDirImage::Print(std::ostream &os, std::string const & )
{
os << "IMAGE : ";
for(ListDocEntry::iterator i = DocEntries.begin();
Program: gdcm
Module: $RCSfile: gdcmDicomDirImage.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.14 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirImage();
~DicomDirImage();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
};
} // end namespace gdcm
//-----------------------------------------------------------------------------
Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 20:03:27 $
- Version: $Revision: 1.20 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.21 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/**
* \brief Prints the Meta Elements
*/
-void DicomDirMeta::Print(std::ostream &os)
+void DicomDirMeta::Print(std::ostream &os, std::string const & )
{
os << "META" << std::endl;
// warning : META doesn't behave exactly like a Objet
Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirMeta();
~DicomDirMeta();
- virtual void Print(std::ostream &os = std::cout);
+ virtual void Print(std::ostream &os = std::cout, std::string const & indent = "" );
virtual void WriteContent(std::ofstream *fp, FileType t);
};
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmDicomDirPatient.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 20:03:27 $
- Version: $Revision: 1.23 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.24 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Prints the Object
* @param os ostream to write to
*/
-void DicomDirPatient::Print(std::ostream &os)
+void DicomDirPatient::Print(std::ostream &os, std::string const & )
{
os << "PATIENT" << std::endl;
DicomDirObject::Print(os);
Program: gdcm
Module: $RCSfile: gdcmDicomDirPatient.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirPatient();
~DicomDirPatient();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent(std::ofstream *fp, FileType t);
/// Returns the STUDY chained List for this PATIENT.
Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 20:03:27 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.26 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Prints the Object
* @param os ostream to write to
*/
-void DicomDirSerie::Print(std::ostream &os)
+void DicomDirSerie::Print(std::ostream &os, std::string const &)
{
os << "SERIE" << std::endl;
DicomDirObject::Print(os);
Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.18 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirSerie();
~DicomDirSerie();
- void Print( std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent( std::ofstream *fp, FileType t );
/**
Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 20:03:27 $
- Version: $Revision: 1.22 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.23 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* @param os ostream to write to
* @return
*/
-void DicomDirStudy::Print(std::ostream &os)
+void DicomDirStudy::Print(std::ostream &os, std::string const & )
{
os << "STUDY" << std::endl;
DicomDirObject::Print(os);
Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.17 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirStudy();
~DicomDirStudy();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent(std::ofstream *fp, FileType t);
/**
Program: gdcm
Module: $RCSfile: gdcmDict.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 11:28:30 $
- Version: $Revision: 1.63 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.64 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* Entries will be sorted by tag i.e. the couple (group, element).
* @param os The output stream to be written to.
*/
-void Dict::Print(std::ostream &os)
+void Dict::Print(std::ostream &os, std::string const & )
{
os << "Dict file name : " << Filename << std::endl;
std::ostringstream s;
Program: gdcm
Module: $RCSfile: gdcmDict.h,v $
Language: C++
- Date: $Date: 2005/01/14 11:28:30 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
~Dict();
// Print
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "");
// Entries
void ClearEntry ();
Program: gdcm
Module: $RCSfile: gdcmDictEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 11:28:30 $
- Version: $Revision: 1.40 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.41 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Print
-void DictEntry::Print(std::ostream &os)
+void DictEntry::Print(std::ostream &os, std::string const & )
{
std::string vr;
std::ostringstream s;
Program: gdcm
Module: $RCSfile: gdcmDictEntry.h,v $
Language: C++
- Date: $Date: 2005/01/13 16:35:37 $
- Version: $Revision: 1.29 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.30 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
TagName const &name = GDCM_UNKNOWN);
// Print
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const &indent = "");
// Key creation
static TagKey TranslateToKey(uint16_t group, uint16_t element);
Program: gdcm
Module: $RCSfile: gdcmDictSet.cxx,v $
Language: C++
- Date: $Date: 2005/01/07 22:03:30 $
- Version: $Revision: 1.49 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.50 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* contained is this DictSet, along with their respective content.
* @param os Output stream used for printing.
*/
-void DictSet::Print(std::ostream &os)
+void DictSet::Print(std::ostream &os, std::string const & )
{
for (DictSetHT::iterator dict = Dicts.begin(); dict != Dicts.end(); ++dict)
{
Program: gdcm
Module: $RCSfile: gdcmDictSet.h,v $
Language: C++
- Date: $Date: 2005/01/13 16:35:37 $
- Version: $Revision: 1.35 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.36 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DictSet();
~DictSet();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
// Probabely useless !
//EntryNamesList *GetPubDictEntryNames();
Program: gdcm
Module: $RCSfile: gdcmDocEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/07 22:19:48 $
- Version: $Revision: 1.40 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.41 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Prints the common part of ValEntry, BinEntry, SeqEntry
* @param os ostream we want to print in
*/
-void DocEntry::Print(std::ostream &os)
+void DocEntry::Print(std::ostream &os, std::string const & )
{
size_t o;
std::string st;
Program: gdcm
Module: $RCSfile: gdcmDocEntry.h,v $
Language: C++
- Date: $Date: 2005/01/07 16:45:51 $
- Version: $Revision: 1.37 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.38 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
bool IsItemDelimitor();
bool IsSequenceDelimitor();
- virtual void Print (std::ostream &os = std::cout);
+ virtual void Print (std::ostream &os = std::cout, std::string const & indent = "");
protected:
// Variables
Program: gdcm
Module: $RCSfile: gdcmElementSet.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 11:28:30 $
- Version: $Revision: 1.41 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.42 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* from the H Table
* @return
*/
-void ElementSet::Print(std::ostream &os)
+void ElementSet::Print(std::ostream &os, std::string const & )
{
for( TagDocEntryHT::const_iterator i = TagHT.begin(); i != TagHT.end(); ++i)
{
Program: gdcm
Module: $RCSfile: gdcmElementSet.h,v $
Language: C++
- Date: $Date: 2005/01/14 11:28:31 $
- Version: $Revision: 1.30 $
+ Date: $Date: 2005/01/16 04:50:41 $
+ Version: $Revision: 1.31 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
ElementSet(int);
~ElementSet();
- virtual void Print(std::ostream &os = std::cout);
+ virtual void Print(std::ostream &os = std::cout, std::string const & indent = "" );
bool AddEntry(DocEntry *Entry);
bool RemoveEntry(DocEntry *EntryToRemove);
Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2005/01/13 22:30:11 $
- Version: $Revision: 1.192 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.193 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Print
-void File::Print(std::ostream &os)
+void File::Print(std::ostream &os, std::string const &)
{
HeaderInternal->SetPrintLevel(PrintLevel);
HeaderInternal->Print(os);
Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.93 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.94 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
virtual ~File();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "");
/// Accessor to \ref Header
Header *GetHeader() { return HeaderInternal; }
Program: gdcm
Module: $RCSfile: gdcmJPEGFragment.cxx,v $
Language: C++
- Date: $Date: 2004/10/20 14:31:44 $
- Version: $Revision: 1.1 $
+ 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
* @param indent Indentation string to be prepended during printing.
* @param os Stream to print to.
*/
-void JPEGFragment::Print( std::string indent, std::ostream &os )
+void JPEGFragment::Print( std::ostream &os, std::string indent )
{
os << indent
<< "JPEG fragment: offset : " << Offset
Program: gdcm
Module: $RCSfile: gdcmJPEGFragment.h,v $
Language: C++
- Date: $Date: 2004/12/03 20:16:58 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
public:
JPEGFragment();
- void Print( std::string indent = "", std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string indent = "" );
private:
long Offset;
Program: gdcm
Module: $RCSfile: gdcmJPEGFragmentsInfo.cxx,v $
Language: C++
- Date: $Date: 2004/10/28 22:21:57 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.5 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* @param indent Indentation string to be prepended during printing.
* @param os Stream to print to.
*/
-void JPEGFragmentsInfo::Print( std::string indent, std::ostream &os )
+void JPEGFragmentsInfo::Print( std::ostream &os, std::string const & indent )
{
os << indent
<< "----------------- JPEG fragments --------------------------------"
{
os << indent
<< " fragment number :" << fragmentNumber++;
- (*it)->Print( indent + " ", os );
+ (*it)->Print( os, indent + " ");
os << std::endl;
}
}
Program: gdcm
Module: $RCSfile: gdcmJPEGFragmentsInfo.h,v $
Language: C++
- Date: $Date: 2004/12/03 20:16:58 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
JPEGFragmentsList Fragments;
public:
~JPEGFragmentsInfo();
- void Print( std::string indent = "", std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string const & indent = "" );
};
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmPixelReadConvert.cxx,v $
Language: C++
- Date: $Date: 2005/01/14 15:06:37 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.28 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
return true;
}
-/**
- * \brief Print self.
- * @param os Stream to print to.
- */
-void PixelReadConvert::Print( std::ostream &os )
-{
- Print("",os);
-}
-
/**
* \brief Print self.
* @param indent Indentation string to be prepended during printing.
* @param os Stream to print to.
*/
-void PixelReadConvert::Print( std::string indent, std::ostream &os )
+void PixelReadConvert::Print( std::ostream &os, std::string const & indent )
{
os << indent
<< "--- Pixel information -------------------------"
{
if ( RLEInfo )
{
- RLEInfo->Print( indent, os );
+ RLEInfo->Print( os, indent );
}
else
{
{
if ( JPEGInfo )
{
- JPEGInfo->Print( indent, os );
+ JPEGInfo->Print( os, indent );
}
else
{
Program: gdcm
Module: $RCSfile: gdcmPixelReadConvert.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//// Predicates:
bool IsRawRGB();
- void Print( std::ostream &os = std::cout );
- void Print( std::string indent = "", std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string const & indent = "" );
// In progress
void GrabInformationsFromHeader( Header *header );
Program: gdcm
Module: $RCSfile: gdcmRLEFrame.cxx,v $
Language: C++
- Date: $Date: 2004/10/20 14:31:44 $
- Version: $Revision: 1.1 $
+ 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
* @param indent Indentation string to be prepended during printing.
* @param os Stream to print to.
*/
-void RLEFrame::Print( std::string indent, std::ostream &os )
+void RLEFrame::Print( std::ostream &os, std::string indent )
{
os << indent
<< "--- fragments"
Program: gdcm
Module: $RCSfile: gdcmRLEFrame.h,v $
Language: C++
- Date: $Date: 2004/12/03 20:16:58 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
long Length[15];
public:
RLEFrame() { NumberFragments = 0; }
- void Print( std::string indent = "", std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string indent = "" );
};
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmRLEFramesInfo.cxx,v $
Language: C++
- Date: $Date: 2004/10/20 14:30:40 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* @param indent Indentation string to be prepended during printing.
* @param os Stream to print to.
*/
-void RLEFramesInfo::Print( std::string indent, std::ostream &os )
+void RLEFramesInfo::Print( std::ostream &os, std::string indent )
{
os << indent
<< "----------------- RLE frames --------------------------------"
os << indent
<< " frame number :" << frameNumber++
<< std::endl;
- (*it)->Print( indent + " ", os );
+ (*it)->Print( os, indent + " " );
}
}
Program: gdcm
Module: $RCSfile: gdcmRLEFramesInfo.h,v $
Language: C++
- Date: $Date: 2004/12/03 20:16:58 $
- Version: $Revision: 1.8 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.9 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
RLEFrameList Frames;
public:
~RLEFramesInfo();
- void Print( std::string indent = "", std::ostream &os = std::cout );
+ void Print( std::ostream &os = std::cout, std::string indent = "" );
};
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmSQItem.cxx,v $
Language: C++
- Date: $Date: 2005/01/11 00:21:48 $
- Version: $Revision: 1.50 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.51 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/*
* \brief canonical Printer
*/
-void SQItem::Print(std::ostream &os)
+void SQItem::Print(std::ostream &os, std::string const &)
{
std::ostringstream s;
Program: gdcm
Module: $RCSfile: gdcmSQItem.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
SQItem(int depthLevel);
~SQItem();
- virtual void Print(std::ostream &os = std::cout);
+ virtual void Print(std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent(std::ofstream *fp, FileType filetype);
/// \brief returns the DocEntry chained List for this SQ Item.
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/07 16:45:52 $
- Version: $Revision: 1.42 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.43 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/**
* \brief canonical Printer
*/
-void SeqEntry::Print( std::ostream &os )
+void SeqEntry::Print( std::ostream &os, std::string const & )
{
// First, Print the Dicom Element itself.
os << "S ";
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.28 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
SeqEntry( DocEntry *d, int depth );
~SeqEntry();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent(std::ofstream *fp, FileType filetype);
/// returns the SQITEM chained List for this SeQuence.
Program: gdcm
Module: $RCSfile: gdcmValEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/12 17:10:15 $
- Version: $Revision: 1.45 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.46 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/**
* \brief canonical Printer
*/
-void ValEntry::Print(std::ostream &os)
+void ValEntry::Print(std::ostream &os, std::string const &)
{
uint16_t g = GetGroup();
uint16_t e = GetElement();
Program: gdcm
Module: $RCSfile: gdcmValEntry.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.35 $
+ Date: $Date: 2005/01/16 04:50:42 $
+ Version: $Revision: 1.36 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// The size is updated
virtual void SetValue(std::string const &val);
- virtual void Print(std::ostream &os = std::cout);
+ virtual void Print(std::ostream &os = std::cout, std::string const & indent = "");
virtual void WriteContent(std::ofstream *fp, FileType filetype);