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

#include <symbol-table.h>

Inheritance diagram for fst::internal::ConstSymbolTableImpl:
Inheritance graph
[legend]
Collaboration diagram for fst::internal::ConstSymbolTableImpl:
Collaboration graph
[legend]

Public Member Functions

std::unique_ptr< SymbolTableImplBaseCopy () const final
 
int64 AddSymbol (SymbolType symbol, int64 key) final
 
int64 AddSymbol (SymbolType symbol) final
 
void RemoveSymbol (int64 key) final
 
void SetName (const std::string &new_name) final
 
void AddTable (const SymbolTable &table) final
 
bool IsMutable () const final
 
- Public Member Functions inherited from fst::internal::SymbolTableImplBase
 SymbolTableImplBase ()=default
 
virtual ~SymbolTableImplBase ()=default
 
 SymbolTableImplBase (const SymbolTableImplBase &)=delete
 
SymbolTableImplBaseoperator= (const SymbolTableImplBase &)=delete
 
virtual bool Write (std::ostream &strm) const =0
 
virtual std::string Find (int64 key) const =0
 
virtual int64 Find (SymbolType symbol) const =0
 
virtual bool Member (int64 key) const
 
virtual bool Member (SymbolType symbol) const
 
virtual int64 GetNthKey (ssize_t pos) const =0
 
virtual const std::string & Name () const =0
 
virtual const std::string & CheckSum () const =0
 
virtual const std::string & LabeledCheckSum () const =0
 
virtual int64 AvailableKey () const =0
 
virtual size_t NumSymbols () const =0
 

Additional Inherited Members

- Public Types inherited from fst::internal::SymbolTableImplBase
using SymbolType = DenseSymbolMap::KeyType
 

Detailed Description

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

Member Function Documentation

int64 fst::internal::ConstSymbolTableImpl::AddSymbol ( SymbolType  symbol,
int64  key 
)
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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

int64 fst::internal::ConstSymbolTableImpl::AddSymbol ( SymbolType  symbol)
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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

void fst::internal::ConstSymbolTableImpl::AddTable ( const SymbolTable table)
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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

std::unique_ptr< SymbolTableImplBase > fst::internal::ConstSymbolTableImpl::Copy ( ) const
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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

bool fst::internal::ConstSymbolTableImpl::IsMutable ( ) const
inlinefinalvirtual

Implements fst::internal::SymbolTableImplBase.

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

void fst::internal::ConstSymbolTableImpl::RemoveSymbol ( int64  key)
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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

void fst::internal::ConstSymbolTableImpl::SetName ( const std::string &  new_name)
finalvirtual

Implements fst::internal::SymbolTableImplBase.

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


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