#include <kaldi-table-inl.h>
Public Types | |
typedef Holder::T | T |
Public Types inherited from RandomAccessTableReaderArchiveImplBase< Holder > | |
typedef Holder::T | T |
Public Types inherited from RandomAccessTableReaderImplBase< Holder > | |
typedef Holder::T | T |
Public Member Functions | |
RandomAccessTableReaderDSortedArchiveImpl () | |
virtual bool | Close () |
virtual bool | HasKey (const std::string &key) |
virtual const T & | Value (const std::string &key) |
virtual | ~RandomAccessTableReaderDSortedArchiveImpl () |
Public Member Functions inherited from RandomAccessTableReaderArchiveImplBase< Holder > | |
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 | ~RandomAccessTableReaderImplBase () |
Private Member Functions | |
bool | FindKeyInternal (const std::string &key) |
Private Attributes | |
std::string | last_requested_key_ |
Last string provided to HasKey() or Value();. More... | |
Additional Inherited Members | |
Protected Types inherited from RandomAccessTableReaderArchiveImplBase< Holder > | |
enum | { kUninitialized, kNoObject, kHaveObject, kEof, kError } |
Protected Attributes inherited from RandomAccessTableReaderArchiveImplBase< Holder > | |
std::string | cur_key_ |
Holder * | holder_ |
std::string | rspecifier_ |
std::string | archive_rxfilename_ |
RspecifierOptions | opts_ |
enum kaldi::RandomAccessTableReaderArchiveImplBase:: { ... } | state_ |
Definition at line 2051 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 2066 of file kaldi-table-inl.h.
|
inline |
Definition at line 2068 of file kaldi-table-inl.h.
|
inlinevirtual |
Definition at line 2089 of file kaldi-table-inl.h.
References TableWriter< Holder >::Close(), TableWriter< Holder >::IsOpen(), and KALDI_ERR.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2070 of file kaldi-table-inl.h.
|
inlineprivate |
Definition at line 2101 of file kaldi-table-inl.h.
References KALDI_ASSERT, and KALDI_ERR.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2076 of file kaldi-table-inl.h.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2079 of file kaldi-table-inl.h.
References KALDI_ASSERT, KALDI_ERR, and kaldi::PrintableRxfilename().
|
private |
Last string provided to HasKey() or Value();.
Definition at line 2160 of file kaldi-table-inl.h.