GDCM
2.2.3
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 00005 Copyright (c) 2006-2011 Mathieu Malaterre 00006 All rights reserved. 00007 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 #ifndef GDCMFILESET_H 00015 #define GDCMFILESET_H 00016 00017 #include "gdcmFile.h" 00018 #include <vector> 00019 00020 namespace gdcm 00021 { 00027 class GDCM_EXPORT FileSet 00028 { 00029 friend std::ostream& operator<<(std::ostream &_os, const FileSet &d); 00030 public: 00031 FileSet():Files() {} 00032 typedef std::string FileType; 00033 typedef std::vector<FileType> FilesType; 00034 00036 void AddFile(File const & ) {} 00037 00040 bool AddFile(const char *filename); 00041 00042 void SetFiles(FilesType const &files); 00043 FilesType const &GetFiles() const { 00044 return Files; 00045 } 00046 00047 private: 00048 FilesType Files; 00049 }; 00050 //----------------------------------------------------------------------------- 00051 inline std::ostream& operator<<(std::ostream &os, const FileSet &f) 00052 { 00053 (void)f; // FIXME 00054 return os; 00055 } 00056 00057 } // end namespace gdcm 00058 00059 #endif //GDCMFILESET_H