Class StringCollector

Class Documentation

class StringCollector

Public Functions

StringCollector(bool quiet = false)
StringCollector(const StringCollector&)
void add(long sourceId, const std::string &best1, const std::string &bestn)
std::vector<std::string> collect(bool nbest)

Protected Types

typedef std::map<long, std::pair<std::string, std::string>> Outputs

Protected Attributes

long maxId_
bool quiet_
std::mutex mutex_
Outputs outputs_