Home | History | Annotate | Download | only in lib

Lines Matching refs:SymbolTable

143 // \class SymbolTable
146 // The SymbolTable implements the mappings of labels to strings and reverse.
152 // SymbolTable for the words in the language model can share this symbol
155 class SymbolTable {
161 SymbolTable(const string& name) : impl_(new SymbolTableImpl(name)) {}
164 SymbolTable(const SymbolTable& table) : impl_(table.impl_) {
170 ~SymbolTable() {
175 SymbolTable* Copy() const {
176 return new SymbolTable(*this);
210 void AddTable(const SymbolTable& table) {
226 static SymbolTable* ReadText(const string& filename) {
231 return new SymbolTable(impl);
235 static SymbolTable* Read(istream &strm, const string& source) {
240 return new SymbolTable(impl);
244 static SymbolTable* Read(const string& filename) {
247 LOG(ERROR) << "SymbolTable::Read: Can't open file " << filename;
260 LOG(ERROR) << "SymbolTable::Write: Can't open file " << filename;
275 LOG(ERROR) << "SymbolTable::WriteText: Can't open file " << filename;
306 explicit SymbolTable(SymbolTableImpl* impl) : impl_(impl) {}
316 void operator=(const SymbolTable &table); // disallow
326 SymbolTableIterator(const SymbolTable& symbol_table) {
372 inline bool CompatSymbols(const SymbolTable *syms1,
373 const SymbolTable *syms2) {