#include <kaldi-table-inl.h>
Public Types | |
typedef Holder::T | T |
Public Types inherited from RandomAccessTableReaderImplBase< Holder > | |
typedef Holder::T | T |
Public Member Functions | |
RandomAccessTableReaderArchiveImplBase () | |
virtual bool | Open (const std::string &rspecifier) |
void | ReadNextObject () |
virtual bool | IsOpen () const |
bool | CloseInternal () |
~RandomAccessTableReaderArchiveImplBase () | |
Public Member Functions inherited from RandomAccessTableReaderImplBase< Holder > | |
virtual bool | HasKey (const std::string &key)=0 |
virtual const T & | Value (const std::string &key)=0 |
virtual bool | Close ()=0 |
virtual | ~RandomAccessTableReaderImplBase () |
Protected Types | |
enum | { kUninitialized, kNoObject, kHaveObject, kEof, kError } |
Protected Attributes | |
std::string | cur_key_ |
Holder * | holder_ |
std::string | rspecifier_ |
std::string | archive_rxfilename_ |
RspecifierOptions | opts_ |
enum kaldi::RandomAccessTableReaderArchiveImplBase:: { ... } | state_ |
Private Attributes | |
Input | input_ |
Definition at line 1895 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 1898 of file kaldi-table-inl.h.
|
protected |
Enumerator | |
---|---|
kUninitialized | |
kNoObject | |
kHaveObject | |
kEof | |
kError |
Definition at line 2031 of file kaldi-table-inl.h.
|
inline |
Definition at line 1900 of file kaldi-table-inl.h.
|
inline |
Definition at line 2015 of file kaldi-table-inl.h.
References KALDI_ASSERT.
|
inline |
Definition at line 1993 of file kaldi-table-inl.h.
References TableWriter< Holder >::IsOpen(), KALDI_ASSERT, KALDI_ERR, and KALDI_WARN.
|
inlinevirtual |
Definition at line 1982 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 1903 of file kaldi-table-inl.h.
References kaldi::ClassifyRspecifier(), TableWriter< Holder >::Close(), KALDI_ASSERT, KALDI_ERR, KALDI_WARN, kaldi::kArchiveRspecifier, and kaldi::PrintableRxfilename().
|
inline |
Definition at line 1935 of file kaldi-table-inl.h.
References kaldi::CharToString(), KALDI_ERR, KALDI_WARN, and kaldi::PrintableRxfilename().
|
protected |
Definition at line 2028 of file kaldi-table-inl.h.
|
protected |
Definition at line 2024 of file kaldi-table-inl.h.
|
protected |
Definition at line 2025 of file kaldi-table-inl.h.
|
private |
Definition at line 2020 of file kaldi-table-inl.h.
|
protected |
Definition at line 2029 of file kaldi-table-inl.h.
|
protected |
Definition at line 2027 of file kaldi-table-inl.h.
enum { ... } state_ |