34 #ifndef SOMAIO_IO_FORMATDICTIONARY_H 35 #define SOMAIO_IO_FORMATDICTIONARY_H 80 const std::vector<std::string> & extensions );
83 const std::vector<std::string> & extensions );
86 static const std::multimap<std::string, std::string> &
readExtensions();
87 static const std::multimap<std::string, std::string> &
writeExtensions();
97 static std::map<std::string, FormatReader<T>*> & _readformats();
98 static std::map<std::string, FormatWriter<T>*> & _writeformats();
99 static std::multimap<std::string, std::string> & _readextensions();
100 static std::multimap<std::string, std::string> & _writeextensions();
108 typedef std::set<std::string> (*FormatInfo)();
109 static void registerReadType(
const std::string & datatype,
111 static void registerWriteType(
const std::string & datatype,
113 static bool hasReadType(
const std::string & datatype );
114 static bool hasWriteType(
const std::string & datatype );
115 static std::map<std::string, FormatInfo> & readTypes();
116 static std::map<std::string, FormatInfo> & writeTypes();
Global dictionary of supported object types for IO.