Program: gdcm
Module: $RCSfile: gdcmDirList.cxx,v $
Language: C++
- Date: $Date: 2005/11/28 15:20:33 $
- Version: $Revision: 1.54 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ Version: $Revision: 1.55 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Print method
* @param os ostream to write to
*/
-void DirList::Print(std::ostream &os)
+void DirList::Print(std::ostream &os, std::string const &indent)
{
std::copy(Filenames.begin(), Filenames.end(),
std::ostream_iterator<std::string>(os, "\n"));
Program: gdcm
Module: $RCSfile: gdcmDirList.h,v $
Language: C++
- Date: $Date: 2005/11/28 16:31:23 $
- Version: $Revision: 1.29 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ 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
DirList(std::string const &dirName, bool recursive=false);
~DirList();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const &indent = "" );
/// Return the name of the directory
std::string const &GetDirName() const { return DirName; }
Program: gdcm
Module: $RCSfile: gdcmJPEGFragment.cxx,v $
Language: C++
- Date: $Date: 2005/11/28 16:50:32 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ 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
* @param os Stream to print to.
* @param indent Indentation string to be prepended during printing.
*/
-void JPEGFragment::Print( std::ostream &os, std::string indent )
+void JPEGFragment::Print( std::ostream &os, std::string const &indent )
{
os << indent
<< "JPEG fragment: offset : " << Offset
Program: gdcm
Module: $RCSfile: gdcmJPEGFragment.h,v $
Language: C++
- Date: $Date: 2005/11/28 16:50:32 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ Version: $Revision: 1.20 $
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::ostream &os = std::cout, std::string indent = "" );
+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
void DecompressJPEGFramesFromFile(std::ifstream *fp,
uint8_t *buffer, int nBits,
int &statesuspension);
Program: gdcm
Module: $RCSfile: gdcmRLEFrame.cxx,v $
Language: C++
- Date: $Date: 2005/11/28 16:50:33 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ Version: $Revision: 1.12 $
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::ostream &os, std::string indent )
+void RLEFrame::Print( std::ostream &os, std::string const &indent )
{
os << indent
<< "--- fragments"
Program: gdcm
Module: $RCSfile: gdcmRLEFrame.h,v $
Language: C++
- Date: $Date: 2005/11/28 16:50:33 $
- Version: $Revision: 1.18 $
+ Date: $Date: 2005/11/28 17:24:21 $
+ 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
friend class RLEFramesInfo;
private:
RLEFrame() { NumberOfFragments = 0; }
- void Print( std::ostream &os = std::cout, std::string indent = "" );
+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
void SetNumberOfFragments(unsigned int number)
{ NumberOfFragments = number; }