#define __creaImageIOImageReader_h_INCLUDED__
-#include <creaImageIOTreeAttributeDescriptor.h>
-
#include <vtkImageData.h>
#include <string>
#include <vector>
#include <map>
+#include <creaImageIOTreeAttributeMapType.h>
namespace creaImageIO
{
+ /**
+ * \ingroup Model
+ */
//=====================================================================
/// Image reader of a specific image format
class SpecificImageReader;
ImageReader();
~ImageReader();
- /// Returns the known extensions
- const std::vector<std::string>& GetKnownExtensions()
- { return mKnownExtensions; }
+
/// Returns true iff the file is readable
bool CanRead( const std::string& filename,
const std::string& exclude = "");
/// On return, the values of the map are the values
/// of the attributes (empty string if not available).
void ReadAttributes(const std::string& filename,
- std::map<std::string,std::string>& attr);
+ tree::AttributeMapType& attr);
+
+ /// Returns the known extensions
+ const std::vector<std::string>& GetKnownExtensions()
+ { return mKnownExtensions; }
protected: