#include <kaldi-table-inl.h>
Public Types | |
typedef Holder::T | T |
Public Types inherited from TableWriterImplBase< Holder > | |
typedef Holder::T | T |
Public Member Functions | |
virtual bool | Open (const std::string &wspecifier) |
virtual bool | IsOpen () const |
void | MakeFilename (typename std::ostream::pos_type streampos, std::string *output) const |
virtual bool | Write (const std::string &key, const T &value) |
virtual void | Flush () |
virtual bool | Close () |
TableWriterBothImpl () | |
virtual | ~TableWriterBothImpl () |
Public Member Functions inherited from TableWriterImplBase< Holder > | |
virtual | ~TableWriterImplBase () |
TableWriterImplBase () | |
Private Types | |
enum | { kUninitialized, kOpen, kWriteError } |
Private Attributes | |
Output | archive_output_ |
Output | script_output_ |
WspecifierOptions | opts_ |
std::string | archive_wxfilename_ |
std::string | script_wxfilename_ |
std::string | wspecifier_ |
enum kaldi::TableWriterBothImpl:: { ... } | state_ |
Definition at line 1289 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 1291 of file kaldi-table-inl.h.
|
private |
Enumerator | |
---|---|
kUninitialized | |
kOpen | |
kWriteError |
Definition at line 1458 of file kaldi-table-inl.h.
|
inline |
Definition at line 1440 of file kaldi-table-inl.h.
|
inlinevirtual |
Definition at line 1444 of file kaldi-table-inl.h.
References SequentialTableReader< Holder >::Close(), SequentialTableReader< Holder >::IsOpen(), and KALDI_ERR.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1427 of file kaldi-table-inl.h.
References SequentialTableReader< Holder >::IsOpen(), and KALDI_ERR.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1416 of file kaldi-table-inl.h.
References KALDI_WARN.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1331 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inline |
Definition at line 1340 of file kaldi-table-inl.h.
References KALDI_ASSERT.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1293 of file kaldi-table-inl.h.
References kaldi::ClassifyWspecifier(), kaldi::ClassifyWxfilename(), SequentialTableReader< Holder >::Close(), KALDI_ASSERT, KALDI_ERR, KALDI_WARN, kaldi::kBothWspecifier, and kaldi::kFileOutput.
Implements TableWriterImplBase< Holder >.
Definition at line 1355 of file kaldi-table-inl.h.
References kaldi::IsToken(), KALDI_ERR, KALDI_WARN, and kaldi::PrintableWxfilename().
|
private |
Definition at line 1452 of file kaldi-table-inl.h.
|
private |
Definition at line 1455 of file kaldi-table-inl.h.
|
private |
Definition at line 1454 of file kaldi-table-inl.h.
|
private |
Definition at line 1453 of file kaldi-table-inl.h.
|
private |
Definition at line 1456 of file kaldi-table-inl.h.
enum { ... } state_ |
|
private |
Definition at line 1457 of file kaldi-table-inl.h.