00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef INDRI_PARSERFACTORY_HPP
00019 #define INDRI_PARSERFACTORY_HPP
00020
00021 #include <string>
00022 #include <map>
00023 #include <vector>
00024 #include "indri/IndriParser.hpp"
00025
00026 class ParserFactory {
00027 public:
00028 ~ParserFactory();
00029
00030 static std::string preferredName( const std::string& name );
00031 static indri::Parser* get( const std::string& name );
00032 static indri::Parser* get( const std::string& name,
00033 const std::vector<std::string>& includeTags,
00034 const std::vector<std::string>& excludeTags,
00035 const std::vector<std::string>& indexTags,
00036 const std::vector<std::string>& metadataTags,
00037 const std::map<std::string, std::string>& conflations );
00038 };
00039
00040 #endif // INDRI_PARSERFACTORY_HPP
00041