FST  openfst-1.8.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_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 67 of file fst.h.

Member Enumeration Documentation

Enumerator
READ 
MAP 

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

Definition at line 108 of file fst.cc.

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

Definition at line 121 of file fst.cc.

Member Function Documentation

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

Definition at line 133 of file fst.cc.

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

Definition at line 126 of file fst.cc.

Member Data Documentation

const FstHeader* fst::FstReadOptions::header

Definition at line 74 of file fst.h.

const SymbolTable* fst::FstReadOptions::isymbols

Definition at line 76 of file fst.h.

FileReadMode fst::FstReadOptions::mode

Definition at line 80 of file fst.h.

const SymbolTable* fst::FstReadOptions::osymbols

Definition at line 78 of file fst.h.

bool fst::FstReadOptions::read_isymbols

Definition at line 81 of file fst.h.

bool fst::FstReadOptions::read_osymbols

Definition at line 82 of file fst.h.

std::string fst::FstReadOptions::source

Definition at line 73 of file fst.h.


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