13 #ifndef mitkCollectionReader_h
14 #define mitkCollectionReader_h
21 #include <vtkXMLParser.h>
36 void AddDataElementIds(std::vector<std::string> dataElemetIds);
37 void AddSubColIds(std::vector<std::string> subColIds);
39 void SetDataItemNames(std::vector<std::string> itemNames);
41 void ClearDataElementIds();
42 void ClearSubColIds();
50 static DataCollection::Pointer FolderToCollection(std::string folder, std::vector<std::string> suffixes,std::vector<std::string> seriesNames,
bool allowGaps);
64 static FileListType GenerateFileLists(std::string folder, std::vector<std::string> suffixes,
bool allowGaps =
false);
81 void StartElement (
const char* elementName,
const char **atts)
override;
85 void EndElement (
const char* elementName)
override;
91 std::string ReadXMLStringAttribut( std::string name,
const char** atts);
95 bool ReadXMLBooleanAttribut( std::string name,
const char** atts );
99 int ReadXMLIntegerAttribut( std::string name,
const char** atts );
115 std::vector<std::string> m_SelectedSubColIds;
117 std::vector<std::string> m_SelectedDataItemIds;
124 std::vector<std::string> m_SelectedDataItemNames;
139 std::string m_BaseDir;