00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkArchetypeSeriesFileNames_h
00018 #define __itkArchetypeSeriesFileNames_h
00019
00020 #ifdef _MSC_VER
00021 #pragma warning ( disable : 4786 )
00022 #endif
00023
00024 #include "itkObject.h"
00025 #include "itkObjectFactory.h"
00026 #include <vector>
00027 #include <string>
00028
00029 namespace itk
00030 {
00069 class ITK_EXPORT ArchetypeSeriesFileNames : public Object
00070 {
00071 public:
00073 typedef ArchetypeSeriesFileNames Self;
00074 typedef Object Superclass;
00075 typedef SmartPointer<Self> Pointer;
00076
00078 itkNewMacro(Self);
00079
00081 itkTypeMacro(ArchetypeSeriesFileNames, Object);
00082
00083
00084
00085
00086
00087 void SetArchetype(const std::string &archetype);
00088 itkGetStringMacro(Archetype);
00089
00090 typedef size_t VectorSizeType;
00091
00093 VectorSizeType GetNumberOfGroupings();
00094
00096 typedef std::vector < int > IntVectorType;
00097 typedef std::vector < std::string > StringVectorType;
00098
00102 const StringVectorType &GetFileNames ( VectorSizeType group = 0);
00103
00104
00105 protected:
00106 ArchetypeSeriesFileNames();
00107 ~ArchetypeSeriesFileNames() {};
00108 void PrintSelf(std::ostream& os, Indent indent) const;
00109
00111 void Scan();
00112
00113 private:
00114 ArchetypeSeriesFileNames(const Self&);
00115 void operator=(const Self&);
00116
00118 std::string m_Archetype;
00119
00120 std::vector< StringVectorType > m_Groupings;
00121 StringVectorType m_FileNames;
00122
00123 TimeStamp m_ArchetypeMTime;
00124 TimeStamp m_ScanTime;
00125
00126 };
00127
00128 }
00129
00130 #endif // __itkArchetypeSeriesFileNames_h
00131