#include <kaldi-table-inl.h>
Public Types | |
typedef Holder::T | T |
Public Types inherited from SequentialTableReaderImplBase< Holder > | |
typedef Holder::T | T |
Public Member Functions | |
SequentialTableReaderArchiveImpl () | |
virtual bool | Open (const std::string &rspecifier) |
virtual void | Next () |
virtual bool | IsOpen () const |
virtual bool | Done () const |
virtual std::string | Key () |
T & | Value () |
virtual void | FreeCurrent () |
void | SwapHolder (Holder *other_holder) |
virtual bool | Close () |
virtual | ~SequentialTableReaderArchiveImpl () |
Public Member Functions inherited from SequentialTableReaderImplBase< Holder > | |
SequentialTableReaderImplBase () | |
virtual | ~SequentialTableReaderImplBase () |
Private Types | |
enum | StateType { kUninitialized, kFileStart, kEof, kError, kHaveObject, kFreedObject } |
Private Attributes | |
Input | input_ |
Holder | holder_ |
std::string | key_ |
std::string | rspecifier_ |
std::string | archive_rxfilename_ |
RspecifierOptions | opts_ |
enum kaldi::SequentialTableReaderArchiveImpl::StateType | state_ |
Definition at line 483 of file kaldi-table-inl.h.
typedef Holder::T T |
Definition at line 486 of file kaldi-table-inl.h.
|
private |
Enumerator | |
---|---|
kUninitialized | |
kFileStart | |
kEof | |
kError | |
kHaveObject | |
kFreedObject |
Definition at line 688 of file kaldi-table-inl.h.
|
inline |
Definition at line 488 of file kaldi-table-inl.h.
|
inlinevirtual |
Definition at line 676 of file kaldi-table-inl.h.
References SequentialTableReaderImplBase< Holder >::Close(), SequentialTableReaderImplBase< Holder >::IsOpen(), KALDI_ERR, and kaldi::PrintableRxfilename().
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 648 of file kaldi-table-inl.h.
References SequentialTableReaderImplBase< Holder >::IsOpen(), KALDI_ERR, KALDI_WARN, and kaldi::PrintableRxfilename().
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 591 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 626 of file kaldi-table-inl.h.
References KALDI_WARN.
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 581 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 604 of file kaldi-table-inl.h.
References KALDI_ERR.
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 531 of file kaldi-table-inl.h.
References kaldi::CharToString(), KALDI_ERR, KALDI_WARN, and kaldi::PrintableRxfilename().
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 490 of file kaldi-table-inl.h.
References kaldi::ClassifyRspecifier(), SequentialTableReaderImplBase< Holder >::Close(), KALDI_ASSERT, KALDI_ERR, KALDI_WARN, kaldi::kArchiveRspecifier, SequentialTableReaderImplBase< Holder >::Next(), and kaldi::PrintableRxfilename().
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 635 of file kaldi-table-inl.h.
References KALDI_ERR, and SequentialTableReaderImplBase< Holder >::Value().
|
inlinevirtual |
Implements SequentialTableReaderImplBase< Holder >.
Definition at line 615 of file kaldi-table-inl.h.
References KALDI_ERR.
|
private |
Definition at line 686 of file kaldi-table-inl.h.
|
private |
Definition at line 683 of file kaldi-table-inl.h.
|
private |
Definition at line 682 of file kaldi-table-inl.h.
|
private |
Definition at line 684 of file kaldi-table-inl.h.
|
private |
Definition at line 687 of file kaldi-table-inl.h.
|
private |
Definition at line 685 of file kaldi-table-inl.h.
|
private |