FST  openfst-1.8.3
OpenFst Library
Public Member Functions | Protected Member Functions | List of all members
fst::script::GenericOperationRegister< OperationSignature > Class Template Reference

#include <script-impl.h>

Inheritance diagram for fst::script::GenericOperationRegister< OperationSignature >:
Inheritance graph
[legend]
Collaboration diagram for fst::script::GenericOperationRegister< OperationSignature >:
Collaboration graph
[legend]

Public Member Functions

OperationSignature GetOperation (std::string_view operation_name, std::string_view arc_type)
 
- Public Member Functions inherited from fst::GenericRegister< std::pair< std::string_view, std::string_view >, OperationSignature, GenericOperationRegister< OperationSignature > >
void SetEntry (const std::pair< std::string_view, std::string_view > &key, const OperationSignature &entry)
 
OperationSignature GetEntry (KeyLookupRef key) const
 
virtual ~GenericRegister ()=default
 

Protected Member Functions

std::string ConvertKeyToSoFilename (const std::pair< std::string_view, std::string_view > &key) const final
 
- Protected Member Functions inherited from fst::GenericRegister< std::pair< std::string_view, std::string_view >, OperationSignature, GenericOperationRegister< OperationSignature > >
virtual OperationSignature LoadEntryFromSharedObject (KeyLookupRef key) const
 
virtual std::string ConvertKeyToSoFilename (KeyLookupRef key) const =0
 
virtual const OperationSignature * LookupEntry (KeyLookupRef key) const
 

Additional Inherited Members

- Public Types inherited from fst::GenericRegister< std::pair< std::string_view, std::string_view >, OperationSignature, GenericOperationRegister< OperationSignature > >
using Key = std::pair< std::string_view, std::string_view >
 
using KeyLookupRef = typename internal::KeyLookupReferenceType< std::pair< std::string_view, std::string_view > >::type
 
using Entry = OperationSignature
 
- Static Public Member Functions inherited from fst::GenericRegister< std::pair< std::string_view, std::string_view >, OperationSignature, GenericOperationRegister< OperationSignature > >
static GenericOperationRegister< OperationSignature > * GetRegister ()
 

Detailed Description

template<class OperationSignature>
class fst::script::GenericOperationRegister< OperationSignature >

Definition at line 123 of file script-impl.h.

Member Function Documentation

template<class OperationSignature >
std::string fst::script::GenericOperationRegister< OperationSignature >::ConvertKeyToSoFilename ( const std::pair< std::string_view, std::string_view > &  key) const
inlinefinalprotected

Definition at line 134 of file script-impl.h.

template<class OperationSignature >
OperationSignature fst::script::GenericOperationRegister< OperationSignature >::GetOperation ( std::string_view  operation_name,
std::string_view  arc_type 
)
inline

Definition at line 128 of file script-impl.h.


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