FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::DenseSymbolMap Class Reference

#include <symbol-table.h>

Public Types

using KeyType = const std::string &

Public Member Functions

 DenseSymbolMap ()
 DenseSymbolMap (const DenseSymbolMap &x)
std::pair< int64, bool > InsertOrFind (KeyType key)
int64 Find (KeyType key) const
size_t Size () const
const std::string & GetSymbol (size_t idx) const
void RemoveSymbol (size_t idx)

Detailed Description

Definition at line 74 of file symbol-table.h.

Member Typedef Documentation

using fst::internal::DenseSymbolMap::KeyType = const std::string &

Definition at line 81 of file symbol-table.h.

Constructor & Destructor Documentation

fst::internal::DenseSymbolMap::DenseSymbolMap ( )

Definition at line 33 of file symbol-table.cc.

fst::internal::DenseSymbolMap::DenseSymbolMap ( const DenseSymbolMap x)

Definition at line 38 of file symbol-table.cc.

Member Function Documentation

int64 fst::internal::DenseSymbolMap::Find ( KeyType  key) const

Definition at line 61 of file symbol-table.cc.

const std::string& fst::internal::DenseSymbolMap::GetSymbol ( size_t  idx) const

Definition at line 94 of file symbol-table.h.

std::pair< int64, bool > fst::internal::DenseSymbolMap::InsertOrFind ( KeyType  key)

Definition at line 44 of file symbol-table.cc.

void fst::internal::DenseSymbolMap::RemoveSymbol ( size_t  idx)

Definition at line 84 of file symbol-table.cc.

size_t fst::internal::DenseSymbolMap::Size ( ) const

Definition at line 92 of file symbol-table.h.

The documentation for this class was generated from the following files: