FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::FstReadOptions Struct Reference

#include <fst.h>

Collaboration diagram for fst::FstReadOptions:
Collaboration graph

Public Types

enum  FileReadMode { READ, MAP }

Public Member Functions

 FstReadOptions (const string &source="<unspecified>", const FstHeader *header=nullptr, const SymbolTable *isymbols=nullptr, const SymbolTable *osymbols=nullptr)
 FstReadOptions (const string &source, const SymbolTable *isymbols, const SymbolTable *osymbols=nullptr)
string DebugString () const

Static Public Member Functions

static FileReadMode ReadMode (const string &mode)

Public Attributes

string source
const FstHeaderheader
const SymbolTableisymbols
const SymbolTableosymbols
FileReadMode mode
bool read_isymbols
bool read_osymbols

Detailed Description

Definition at line 51 of file fst.h.

Member Enumeration Documentation


Definition at line 55 of file fst.h.

Constructor & Destructor Documentation

fst::FstReadOptions::FstReadOptions ( const string &  source = "<unspecified>",
const FstHeader header = nullptr,
const SymbolTable isymbols = nullptr,
const SymbolTable osymbols = nullptr 

Definition at line 136 of file fst.cc.

fst::FstReadOptions::FstReadOptions ( const string &  source,
const SymbolTable isymbols,
const SymbolTable osymbols = nullptr 

Definition at line 148 of file fst.cc.

Member Function Documentation

string fst::FstReadOptions::DebugString ( ) const

Definition at line 167 of file fst.cc.

FstReadOptions::FileReadMode fst::FstReadOptions::ReadMode ( const string &  mode)

Definition at line 160 of file fst.cc.

Member Data Documentation

const FstHeader* fst::FstReadOptions::header

Definition at line 58 of file fst.h.

const SymbolTable* fst::FstReadOptions::isymbols

Definition at line 60 of file fst.h.

FileReadMode fst::FstReadOptions::mode

Definition at line 64 of file fst.h.

const SymbolTable* fst::FstReadOptions::osymbols

Definition at line 62 of file fst.h.

bool fst::FstReadOptions::read_isymbols

Definition at line 65 of file fst.h.

bool fst::FstReadOptions::read_osymbols

Definition at line 66 of file fst.h.

string fst::FstReadOptions::source

Definition at line 57 of file fst.h.

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