Program: gdcm
Module: $RCSfile: gdcmSerieHelper.cxx,v $
Language: C++
- Date: $Date: 2005/02/02 15:12:09 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2005/02/02 16:16:07 $
+ 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
namespace gdcm
{
-typedef std::list<File* > GdcmFileList;
-typedef std::vector<File* > GdcmFileVector;
//-----------------------------------------------------------------------------
// Constructor / Destructor
* \brief Get the first List while visiting the CoherentFileListHT
* @return The first GdcmFileList if found, otherwhise NULL
*/
- std::list<File* > *SerieHelper::GetFirstCoherentFileList()
-// Why doesn't it compile ?!?
-//GdcmFileList *SerieHelper::GetFirstCoherentFileList()
+GdcmFileList *SerieHelper::GetFirstCoherentFileList()
{
ItListHt = CoherentGdcmFileListHT.begin();
if( ItListHt != CoherentGdcmFileListHT.end() )
* \note : meaningfull only if GetFirstCoherentFileList already called
* @return The next GdcmFileList if found, otherwhise NULL
*/
-std::list<File* > *SerieHelper::GetNextCoherentFileList()
+GdcmFileList *SerieHelper::GetNextCoherentFileList()
{
gdcmAssertMacro (ItListHt != CoherentGdcmFileListHT.end());
Program: gdcm
Module: $RCSfile: gdcmSerieHelper.h,v $
Language: C++
- Date: $Date: 2005/02/02 15:12:09 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2005/02/02 16:16:07 $
+ 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
#define GDCMSERIEHELPER_H
#include "gdcmCommon.h"
+
#include <list>
#include <map>
+
namespace gdcm
{
class File;
+typedef std::list<File* > GdcmFileList;
//-----------------------------------------------------------------------------
/**
class GDCM_EXPORT SerieHelper
{
public:
- typedef std::list<File* > GdcmFileList;
typedef std::map<std::string, GdcmFileList *> CoherentFileListmap;
+ typedef std::vector<File* > GdcmFileVector;
- SerieHelper();
- ~SerieHelper();
- void Print();
+ SerieHelper();
+ ~SerieHelper();
+ void Print();
/// \todo should return bool or throw error ?
void AddFileName(std::string const &filename);