FST  openfst-1.7.3
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
[legend]

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 50 of file fst.h.

Member Enumeration Documentation

Enumerator
READ 
MAP 

Definition at line 54 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 
)
explicit

Definition at line 109 of file fst.cc.

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

Definition at line 122 of file fst.cc.

Member Function Documentation

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

Definition at line 141 of file fst.cc.

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

Definition at line 134 of file fst.cc.

Member Data Documentation

const FstHeader* fst::FstReadOptions::header

Definition at line 57 of file fst.h.

const SymbolTable* fst::FstReadOptions::isymbols

Definition at line 59 of file fst.h.

FileReadMode fst::FstReadOptions::mode

Definition at line 63 of file fst.h.

const SymbolTable* fst::FstReadOptions::osymbols

Definition at line 61 of file fst.h.

bool fst::FstReadOptions::read_isymbols

Definition at line 64 of file fst.h.

bool fst::FstReadOptions::read_osymbols

Definition at line 65 of file fst.h.

std::string fst::FstReadOptions::source

Definition at line 56 of file fst.h.


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