#include <symbol-table.h>
|
static SymbolTable * | ReadText (std::istream &strm, std::string_view name, std::string_view sep=FST_FLAGS_fst_field_separator) |
|
static SymbolTable * | ReadText (const std::string &source, std::string_view sep=FST_FLAGS_fst_field_separator) |
|
static SymbolTable * | Read (std::istream &strm, std::string_view source) |
|
static SymbolTable * | Read (const std::string &source) |
|
Definition at line 302 of file symbol-table.h.
fst::SymbolTable::SymbolTable |
( |
std::string_view |
name = "<unspecified>" | ) |
|
|
inlineexplicit |
virtual fst::SymbolTable::~SymbolTable |
( |
| ) |
|
|
virtualdefault |
int64_t fst::SymbolTable::AddSymbol |
( |
std::string_view |
symbol, |
|
|
int64_t |
key |
|
) |
| |
|
inline |
int64_t fst::SymbolTable::AddSymbol |
( |
std::string_view |
symbol | ) |
|
|
inline |
void fst::SymbolTable::AddTable |
( |
const SymbolTable & |
table | ) |
|
|
inline |
int64_t fst::SymbolTable::AvailableKey |
( |
| ) |
const |
|
inline |
const std::string& fst::SymbolTable::CheckSum |
( |
| ) |
const |
|
inline |
std::string fst::SymbolTable::Find |
( |
int64_t |
key | ) |
const |
|
inline |
int64_t fst::SymbolTable::Find |
( |
std::string_view |
symbol | ) |
const |
|
inline |
int64_t fst::SymbolTable::GetNthKey |
( |
ssize_t |
pos | ) |
const |
|
inline |
template<class T = internal::SymbolTableImplBase>
const T* fst::SymbolTable::Impl |
( |
| ) |
const |
|
inlineprotected |
const std::string& fst::SymbolTable::LabeledCheckSum |
( |
| ) |
const |
|
inline |
bool fst::SymbolTable::Member |
( |
int64_t |
key | ) |
const |
|
inline |
bool fst::SymbolTable::Member |
( |
std::string_view |
symbol | ) |
const |
|
inline |
template<class T = internal::SymbolTableImplBase>
T* fst::SymbolTable::MutableImpl |
( |
| ) |
|
|
inlineprotected |
const std::string& fst::SymbolTable::Name |
( |
| ) |
const |
|
inline |
size_t fst::SymbolTable::NumSymbols |
( |
| ) |
const |
|
inline |
static SymbolTable* fst::SymbolTable::Read |
( |
std::istream & |
strm, |
|
|
std::string_view |
source |
|
) |
| |
|
inlinestatic |
static SymbolTable* fst::SymbolTable::Read |
( |
const std::string & |
source | ) |
|
|
inlinestatic |
static SymbolTable* fst::SymbolTable::ReadText |
( |
std::istream & |
strm, |
|
|
std::string_view |
name, |
|
|
std::string_view |
sep = FST_FLAGS_fst_field_separator |
|
) |
| |
|
inlinestatic |
SymbolTable * fst::SymbolTable::ReadText |
( |
const std::string & |
source, |
|
|
std::string_view |
sep = FST_FLAGS_fst_field_separator |
|
) |
| |
|
static |
void fst::SymbolTable::RemoveSymbol |
( |
int64_t |
key | ) |
|
|
inline |
void fst::SymbolTable::SetName |
( |
std::string_view |
new_name | ) |
|
|
inline |
bool fst::SymbolTable::Write |
( |
std::ostream & |
strm | ) |
const |
|
inline |
bool fst::SymbolTable::Write |
( |
const std::string & |
source | ) |
const |
bool fst::SymbolTable::WriteText |
( |
std::ostream & |
strm, |
|
|
std::string_view |
sep = FST_FLAGS_fst_field_separator |
|
) |
| const |
bool fst::SymbolTable::WriteText |
( |
const std::string & |
sink, |
|
|
std::string_view |
sep = FST_FLAGS_fst_field_separator |
|
) |
| const |
The documentation for this class was generated from the following files: