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

Static Public Member Functions

static FileReadMode ReadMode (std::string_view 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 68 of file fst.h.

Member Enumeration Documentation


Definition at line 72 of file fst.h.

Constructor & Destructor Documentation

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

Definition at line 102 of file fst.cc.

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

Definition at line 115 of file fst.cc.

Member Function Documentation

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

Definition at line 127 of file fst.cc.

FstReadOptions::FileReadMode fst::FstReadOptions::ReadMode ( std::string_view  mode)

Definition at line 120 of file fst.cc.

Member Data Documentation

const FstHeader* fst::FstReadOptions::header

Definition at line 75 of file fst.h.

const SymbolTable* fst::FstReadOptions::isymbols

Definition at line 77 of file fst.h.

FileReadMode fst::FstReadOptions::mode

Definition at line 81 of file fst.h.

const SymbolTable* fst::FstReadOptions::osymbols

Definition at line 79 of file fst.h.

bool fst::FstReadOptions::read_isymbols

Definition at line 82 of file fst.h.

bool fst::FstReadOptions::read_osymbols

Definition at line 83 of file fst.h.

std::string fst::FstReadOptions::source

Definition at line 74 of file fst.h.

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