FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
fst::GenericRegister< KeyType, EntryType, RegisterType > Class Template Referenceabstract

#include <generic-register.h>

Public Types

using Key = KeyType
 
using Entry = EntryType
 

Public Member Functions

void SetEntry (const KeyType &key, const EntryType &entry)
 
EntryType GetEntry (const KeyType &key) const
 
virtual ~GenericRegister ()
 

Static Public Member Functions

static RegisterType * GetRegister ()
 

Protected Member Functions

virtual EntryType LoadEntryFromSharedObject (const KeyType &key) const
 
virtual std::string ConvertKeyToSoFilename (const KeyType &key) const =0
 
virtual const EntryType * LookupEntry (const KeyType &key) const
 

Detailed Description

template<class KeyType, class EntryType, class RegisterType>
class fst::GenericRegister< KeyType, EntryType, RegisterType >

Definition at line 35 of file generic-register.h.

Member Typedef Documentation

template<class KeyType, class EntryType, class RegisterType>
using fst::GenericRegister< KeyType, EntryType, RegisterType >::Entry = EntryType

Definition at line 38 of file generic-register.h.

template<class KeyType, class EntryType, class RegisterType>
using fst::GenericRegister< KeyType, EntryType, RegisterType >::Key = KeyType

Definition at line 37 of file generic-register.h.

Constructor & Destructor Documentation

template<class KeyType, class EntryType, class RegisterType>
virtual fst::GenericRegister< KeyType, EntryType, RegisterType >::~GenericRegister ( )
inlinevirtual

Definition at line 59 of file generic-register.h.

Member Function Documentation

template<class KeyType, class EntryType, class RegisterType>
virtual std::string fst::GenericRegister< KeyType, EntryType, RegisterType >::ConvertKeyToSoFilename ( const KeyType &  key) const
protectedpure virtual
template<class KeyType, class EntryType, class RegisterType>
EntryType fst::GenericRegister< KeyType, EntryType, RegisterType >::GetEntry ( const KeyType &  key) const
inline

Definition at line 50 of file generic-register.h.

template<class KeyType, class EntryType, class RegisterType>
static RegisterType* fst::GenericRegister< KeyType, EntryType, RegisterType >::GetRegister ( )
inlinestatic

Definition at line 40 of file generic-register.h.

template<class KeyType, class EntryType, class RegisterType>
virtual EntryType fst::GenericRegister< KeyType, EntryType, RegisterType >::LoadEntryFromSharedObject ( const KeyType &  key) const
inlineprotectedvirtual

Definition at line 64 of file generic-register.h.

template<class KeyType, class EntryType, class RegisterType>
virtual const EntryType* fst::GenericRegister< KeyType, EntryType, RegisterType >::LookupEntry ( const KeyType &  key) const
inlineprotectedvirtual

Definition at line 93 of file generic-register.h.

template<class KeyType, class EntryType, class RegisterType>
void fst::GenericRegister< KeyType, EntryType, RegisterType >::SetEntry ( const KeyType &  key,
const EntryType &  entry 
)
inline

Definition at line 45 of file generic-register.h.


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