#include <fst/util.h>
#include <cctype>
#include <charconv>
#include <cstddef>
#include <cstdint>
#include <istream>
#include <optional>
#include <ostream>
#include <sstream>
#include <string>
#include <system_error>
#include <fst/flags.h>
#include <fst/log.h>
#include <string_view>
Go to the source code of this file.
|
| DEFINE_bool (fst_error_fatal, true,"FST errors are fatal; o.w. return objects flagged as bad: ""e.g., FSTs: kError property set, FST weights: not a Member()") |
|
std::optional< int64_t > | fst::ParseInt64 (std::string_view s, int base=10) |
|
int64_t | fst::StrToInt64 (std::string_view s, std::string_view source, size_t nline, bool *error=nullptr) |
|
void | fst::ConvertToLegalCSymbol (std::string *s) |
|
bool | fst::AlignInput (std::istream &strm, size_t align=MappedFile::kArchAlignment) |
|
bool | fst::AlignOutput (std::ostream &strm, size_t align=MappedFile::kArchAlignment) |
|
int | fst::AlignBufferWithOutputStream (std::ostream &strm, std::ostringstream &buffer, size_t align) |
|
DEFINE_bool |
( |
fst_error_fatal |
, |
|
|
true |
, |
|
|
"FST errors are fatal; o.w. return objects flagged as bad: ""e. |
g., |
|
|
FSTs:kError property |
set, |
|
|
FST weights:not a Member()" |
|
|
) |
| |