#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 |
virtual bool | Write (const std::string &key, const T &value) |
virtual void | Flush () |
virtual bool | Close () |
TableWriterArchiveImpl () | |
virtual | ~TableWriterArchiveImpl () |
Public Member Functions inherited from TableWriterImplBase< Holder > | |
virtual | ~TableWriterImplBase () |
TableWriterImplBase () | |
Private Types | |
enum | { kUninitialized, kOpen, kWriteError } |
Private Attributes | |
Output | output_ |
WspecifierOptions | opts_ |
std::string | wspecifier_ |
std::string | archive_wxfilename_ |
enum kaldi::TableWriterArchiveImpl:: { ... } | state_ |
Definition at line 996 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 998 of file kaldi-table-inl.h.
|
private |
Enumerator | |
---|---|
kUninitialized | |
kOpen | |
kWriteError |
Definition at line 1118 of file kaldi-table-inl.h.
|
inline |
Definition at line 1103 of file kaldi-table-inl.h.
|
inlinevirtual |
Definition at line 1106 of file kaldi-table-inl.h.
References SequentialTableReader< Holder >::Close(), SequentialTableReader< Holder >::IsOpen(), and KALDI_ERR.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1083 of file kaldi-table-inl.h.
References SequentialTableReader< Holder >::IsOpen(), KALDI_ERR, and KALDI_WARN.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1073 of file kaldi-table-inl.h.
References KALDI_WARN.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1030 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements TableWriterImplBase< Holder >.
Definition at line 1000 of file kaldi-table-inl.h.
References kaldi::ClassifyWspecifier(), SequentialTableReader< Holder >::Close(), KALDI_ASSERT, KALDI_ERR, and kaldi::kArchiveWspecifier.
Implements TableWriterImplBase< Holder >.
Definition at line 1041 of file kaldi-table-inl.h.
References kaldi::IsToken(), KALDI_ERR, KALDI_WARN, and kaldi::PrintableWxfilename().
|
private |
Definition at line 1117 of file kaldi-table-inl.h.
|
private |
Definition at line 1115 of file kaldi-table-inl.h.
|
private |
Definition at line 1114 of file kaldi-table-inl.h.
enum { ... } state_ |
|
private |
Definition at line 1116 of file kaldi-table-inl.h.