FST  openfst-1.8.3
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 66 of file symbol-table.h.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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


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