FST  openfst-1.7.2
OpenFst Library
Public Member Functions | Public Attributes | List of all members
fst::CacheImplOptions< CacheStore > Struct Template Reference

#include <cache.h>

Inheritance diagram for fst::CacheImplOptions< CacheStore >:
Inheritance graph
[legend]

Public Member Functions

 CacheImplOptions (bool gc=FLAGS_fst_default_cache_gc, size_t gc_limit=FLAGS_fst_default_cache_gc_limit, CacheStore *store=nullptr)
 
 CacheImplOptions (const CacheOptions &opts)
 

Public Attributes

bool gc
 
size_t gc_limit
 
CacheStore * store
 
bool own_store
 

Detailed Description

template<class CacheStore>
struct fst::CacheImplOptions< CacheStore >

Definition at line 39 of file cache.h.

Constructor & Destructor Documentation

template<class CacheStore>
fst::CacheImplOptions< CacheStore >::CacheImplOptions ( bool  gc = FLAGS_fst_default_cache_gc,
size_t  gc_limit = FLAGS_fst_default_cache_gc_limit,
CacheStore *  store = nullptr 
)
inlineexplicit

Definition at line 45 of file cache.h.

template<class CacheStore>
fst::CacheImplOptions< CacheStore >::CacheImplOptions ( const CacheOptions opts)
inlineexplicit

Definition at line 50 of file cache.h.

Member Data Documentation

template<class CacheStore>
bool fst::CacheImplOptions< CacheStore >::gc

Definition at line 40 of file cache.h.

template<class CacheStore>
size_t fst::CacheImplOptions< CacheStore >::gc_limit

Definition at line 41 of file cache.h.

template<class CacheStore>
bool fst::CacheImplOptions< CacheStore >::own_store

Definition at line 43 of file cache.h.

template<class CacheStore>
CacheStore* fst::CacheImplOptions< CacheStore >::store

Definition at line 42 of file cache.h.


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