FST  openfst-1.8.2.post1
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 67 of file symbol-table.h.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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