FST  openfst-1.8.3
OpenFst Library
Public Member Functions | List of all members
fst::internal::SymbolTableImplBase Class Referenceabstract

#include <symbol-table.h>

Inheritance diagram for fst::internal::SymbolTableImplBase:
Inheritance graph
[legend]

Public Member Functions

 SymbolTableImplBase ()=default
 
virtual ~SymbolTableImplBase ()=default
 
 SymbolTableImplBase (const SymbolTableImplBase &)=delete
 
SymbolTableImplBaseoperator= (const SymbolTableImplBase &)=delete
 
virtual std::unique_ptr< SymbolTableImplBaseCopy () const =0
 
virtual bool Write (std::ostream &strm) const =0
 
virtual int64_t AddSymbol (std::string_view symbol, int64_t key)=0
 
virtual int64_t AddSymbol (std::string_view symbol)=0
 
virtual void RemoveSymbol (int64_t key)=0
 
virtual std::string Find (int64_t key) const =0
 
virtual int64_t Find (std::string_view symbol) const =0
 
virtual bool Member (int64_t key) const
 
virtual bool Member (std::string_view symbol) const
 
virtual void AddTable (const SymbolTable &table)=0
 
virtual int64_t GetNthKey (ssize_t pos) const =0
 
virtual const std::string & Name () const =0
 
virtual void SetName (std::string_view new_name)=0
 
virtual const std::string & CheckSum () const =0
 
virtual const std::string & LabeledCheckSum () const =0
 
virtual int64_t AvailableKey () const =0
 
virtual size_t NumSymbols () const =0
 
virtual bool IsMutable () const =0
 

Detailed Description

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

Constructor & Destructor Documentation

fst::internal::SymbolTableImplBase::SymbolTableImplBase ( )
default
virtual fst::internal::SymbolTableImplBase::~SymbolTableImplBase ( )
virtualdefault
fst::internal::SymbolTableImplBase::SymbolTableImplBase ( const SymbolTableImplBase )
delete

Member Function Documentation

virtual int64_t fst::internal::SymbolTableImplBase::AddSymbol ( std::string_view  symbol,
int64_t  key 
)
pure virtual
virtual int64_t fst::internal::SymbolTableImplBase::AddSymbol ( std::string_view  symbol)
pure virtual
virtual void fst::internal::SymbolTableImplBase::AddTable ( const SymbolTable table)
pure virtual
virtual int64_t fst::internal::SymbolTableImplBase::AvailableKey ( ) const
pure virtual
virtual const std::string& fst::internal::SymbolTableImplBase::CheckSum ( ) const
pure virtual
virtual std::unique_ptr<SymbolTableImplBase> fst::internal::SymbolTableImplBase::Copy ( ) const
pure virtual
virtual std::string fst::internal::SymbolTableImplBase::Find ( int64_t  key) const
pure virtual
virtual int64_t fst::internal::SymbolTableImplBase::Find ( std::string_view  symbol) const
pure virtual
virtual int64_t fst::internal::SymbolTableImplBase::GetNthKey ( ssize_t  pos) const
pure virtual
virtual bool fst::internal::SymbolTableImplBase::IsMutable ( ) const
pure virtual
virtual const std::string& fst::internal::SymbolTableImplBase::LabeledCheckSum ( ) const
pure virtual
virtual bool fst::internal::SymbolTableImplBase::Member ( int64_t  key) const
inlinevirtual

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

virtual bool fst::internal::SymbolTableImplBase::Member ( std::string_view  symbol) const
inlinevirtual

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

virtual const std::string& fst::internal::SymbolTableImplBase::Name ( ) const
pure virtual
virtual size_t fst::internal::SymbolTableImplBase::NumSymbols ( ) const
pure virtual
SymbolTableImplBase& fst::internal::SymbolTableImplBase::operator= ( const SymbolTableImplBase )
delete
virtual void fst::internal::SymbolTableImplBase::RemoveSymbol ( int64_t  key)
pure virtual
virtual void fst::internal::SymbolTableImplBase::SetName ( std::string_view  new_name)
pure virtual
virtual bool fst::internal::SymbolTableImplBase::Write ( std::ostream &  strm) const
pure virtual

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