FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Protected Member Functions | List of all members
fst::FstRegister< Arc > Class Template Reference

#include <register.h>

Inheritance diagram for fst::FstRegister< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::FstRegister< Arc >:
Collaboration graph
[legend]

Public Types

using Reader = typename FstRegisterEntry< Arc >::Reader
 
using Converter = typename FstRegisterEntry< Arc >::Converter
 
- Public Types inherited from fst::GenericRegister< std::string, FstRegisterEntry< Arc >, FstRegister< Arc > >
using Key = std::string
 
using KeyLookupRef = typename internal::KeyLookupReferenceType< std::string >::type
 
using Entry = FstRegisterEntry< Arc >
 

Public Member Functions

const Reader GetReader (std::string_view type) const
 
const Converter GetConverter (std::string_view type) const
 
- Public Member Functions inherited from fst::GenericRegister< std::string, FstRegisterEntry< Arc >, FstRegister< Arc > >
void SetEntry (const std::string &key, const FstRegisterEntry< Arc > &entry)
 
FstRegisterEntry< Arc > GetEntry (KeyLookupRef key) const
 
virtual ~GenericRegister ()=default
 

Protected Member Functions

std::string ConvertKeyToSoFilename (std::string_view key) const override
 
- Protected Member Functions inherited from fst::GenericRegister< std::string, FstRegisterEntry< Arc >, FstRegister< Arc > >
virtual FstRegisterEntry< Arc > LoadEntryFromSharedObject (KeyLookupRef key) const
 
virtual std::string ConvertKeyToSoFilename (KeyLookupRef key) const =0
 
virtual const FstRegisterEntry< Arc > * LookupEntry (KeyLookupRef key) const
 

Additional Inherited Members

- Static Public Member Functions inherited from fst::GenericRegister< std::string, FstRegisterEntry< Arc >, FstRegister< Arc > >
static FstRegister< Arc > * GetRegister ()
 

Detailed Description

template<class Arc>
class fst::FstRegister< Arc >

Definition at line 60 of file register.h.

Member Typedef Documentation

template<class Arc>
using fst::FstRegister< Arc >::Converter = typename FstRegisterEntry<Arc>::Converter

Definition at line 64 of file register.h.

template<class Arc>
using fst::FstRegister< Arc >::Reader = typename FstRegisterEntry<Arc>::Reader

Definition at line 63 of file register.h.

Member Function Documentation

template<class Arc>
std::string fst::FstRegister< Arc >::ConvertKeyToSoFilename ( std::string_view  key) const
inlineoverrideprotected

Definition at line 75 of file register.h.

template<class Arc>
const Converter fst::FstRegister< Arc >::GetConverter ( std::string_view  type) const
inline

Definition at line 70 of file register.h.

template<class Arc>
const Reader fst::FstRegister< Arc >::GetReader ( std::string_view  type) const
inline

Definition at line 66 of file register.h.


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