#include <kaldi-table-inl.h>
Classes | |
struct | PairCompare |
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 | |
RandomAccessTableReaderSortedArchiveImpl () | |
virtual bool | Close () |
virtual bool | HasKey (const std::string &key) |
virtual const T & | Value (const std::string &key) |
virtual | ~RandomAccessTableReaderSortedArchiveImpl () |
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 | |
void | HandlePendingDelete () |
bool | FindKeyInternal (const std::string &key, size_t *index) |
Private Attributes | |
std::vector< std::pair< std::string, Holder * > > | seen_pairs_ |
size_t | last_found_index_ |
size_t | pending_delete_ |
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 2167 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 2183 of file kaldi-table-inl.h.
|
inline |
Definition at line 2185 of file kaldi-table-inl.h.
|
inlinevirtual |
Definition at line 2228 of file kaldi-table-inl.h.
References TableWriter< Holder >::Close(), TableWriter< Holder >::IsOpen(), and KALDI_ERR.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2189 of file kaldi-table-inl.h.
References rnnlm::i.
Definition at line 2258 of file kaldi-table-inl.h.
References KALDI_ASSERT, KALDI_ERR, and kaldi::PrintableRxfilename().
|
inlineprivate |
Definition at line 2237 of file kaldi-table-inl.h.
References KALDI_ASSERT.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2199 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements RandomAccessTableReaderImplBase< Holder >.
Definition at line 2212 of file kaldi-table-inl.h.
References KALDI_ERR, and kaldi::PrintableRxfilename().
|
private |
Definition at line 2330 of file kaldi-table-inl.h.
|
private |
Definition at line 2333 of file kaldi-table-inl.h.
|
private |
Definition at line 2329 of file kaldi-table-inl.h.