Home | History | Annotate | Download | only in lib

Lines Matching refs:entry

47   struct Entry {
50 Entry() : reader(0), converter(0) {}
66 void SetEntry(const string &type, const Entry &entry) {
68 fst_table_.insert(make_pair(type, entry));
77 Entry LookupEntry(const string &type) const {
79 typename map<string, Entry>::const_iterator it = fst_table_.find(type);
83 return Entry();
86 Entry GetEntry(const string &type) const {
88 Entry entry = LookupEntry(type);
89 if (entry.reader)
90 return entry;
95 return entry;
102 return entry;
113 map<string, Entry> fst_table_;
132 typedef typename FstRegister<Arc>::Entry Entry;
139 Entry entry;
140 entry.reader = reinterpret_cast<Reader>(reader);
141 entry.converter = &FstRegisterer<F>::Convert;
143 registr->SetEntry(fst.Type(), entry);