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

#include <symbol-table.h>

Public Member Functions

 DenseSymbolMap ()
 
std::pair< int64_t, bool > InsertOrFind (std::string_view key)
 
int64_t Find (std::string_view key) const
 
size_t Size () const
 
const std::string & GetSymbol (size_t idx) const
 
void RemoveSymbol (size_t idx)
 
void ShrinkToFit ()
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

int64_t fst::internal::DenseSymbolMap::Find ( std::string_view  key) const

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

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

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

std::pair< int64_t, bool > fst::internal::DenseSymbolMap::InsertOrFind ( std::string_view  key)

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

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

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

void fst::internal::DenseSymbolMap::ShrinkToFit ( )

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

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

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


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