FST  openfst-1.7.5
OpenFst Library
Public Types | 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 Types

using SymbolType = DenseSymbolMap::KeyType
 

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 AddSymbol (SymbolType symbol, int64 key)=0
 
virtual int64 AddSymbol (SymbolType symbol)=0
 
virtual void RemoveSymbol (int64 key)=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 void AddTable (const SymbolTable &table)=0
 
virtual int64 GetNthKey (ssize_t pos) const =0
 
virtual const std::string & Name () const =0
 
virtual void SetName (const std::string &new_name)=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
 
virtual bool IsMutable () const =0
 

Detailed Description

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

Member Typedef Documentation

Definition at line 123 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 fst::internal::SymbolTableImplBase::AddSymbol ( SymbolType  symbol,
int64  key 
)
pure virtual
virtual int64 fst::internal::SymbolTableImplBase::AddSymbol ( SymbolType  symbol)
pure virtual
virtual void fst::internal::SymbolTableImplBase::AddTable ( const SymbolTable table)
pure virtual
virtual int64 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  key) const
pure virtual
virtual int64 fst::internal::SymbolTableImplBase::Find ( SymbolType  symbol) const
pure virtual
virtual int64 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  key) const
inlinevirtual

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

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

Definition at line 145 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  key)
pure virtual
virtual void fst::internal::SymbolTableImplBase::SetName ( const std::string &  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: