|
Public Member Functions |
| ~FileClassEnvironmentFactory () |
FileClassEnvironment * | get (const std::string &name) |
| Make an instance of a named FileClassEnvironment. Caller is responsible for deleting the pointer.
|
FileClassEnvironmentFactory::Specification * | getFileClassSpec (const std::string &name) |
| Make an instance of a named Specification, suitable for modifying an existing FileClassEnvironment. Caller is responsible for deleting the pointer.
|
void | addFileClass (const FileClassEnvironmentFactory::Specification &spec) |
| Add parsing information for a file class.
|
void | addFileClass (const std::string &name, const std::string &iterator, const std::string &parser, const std::string &tokenizer, const std::string &startDocTag, const std::string &endDocTag, const std::string &endMetadataTag, const std::vector< std::string > &include, const std::vector< std::string > &exclude, const std::vector< std::string > &index, const std::vector< std::string > &metadata, const std::map< indri::parse::ConflationPattern *, std::string > &conflations) |
| Add parsing information for a file class.
|
Private Attributes |
std::map< std::string, struct
FileClassEnvironmentFactory::Specification * > | _userTable |