FST  openfst-1.7.5
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 std::string &source="<unspecified>", const FstHeader *header=nullptr, const SymbolTable *isymbols=nullptr, const SymbolTable *osymbols=nullptr)
 FstReadOptions (const std::string &source, const SymbolTable *isymbols, const SymbolTable *osymbols=nullptr)
std::string DebugString () const

Static Public Member Functions

static FileReadMode ReadMode (const std::string &mode)

Public Attributes

std::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 std::string &  source = "<unspecified>",
const FstHeader header = nullptr,
const SymbolTable isymbols = nullptr,
const SymbolTable osymbols = nullptr 

Definition at line 110 of file fst.cc.

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

Definition at line 123 of file fst.cc.

Member Function Documentation

std::string fst::FstReadOptions::DebugString ( ) const

Definition at line 142 of file fst.cc.

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

Definition at line 135 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.

std::string fst::FstReadOptions::source

Definition at line 57 of file fst.h.

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