FST  openfst-1.8.3
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=FST_FLAGS_fst_default_cache_gc, size_t gc_limit=FST_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 63 of file cache.h.

Constructor & Destructor Documentation

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

Definition at line 69 of file cache.h.

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

Definition at line 75 of file cache.h.

Member Data Documentation

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

Definition at line 64 of file cache.h.

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

Definition at line 65 of file cache.h.

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

Definition at line 67 of file cache.h.

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

Definition at line 66 of file cache.h.


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