#include <kaldi-holder-inl.h>
Public Types | |
typedef std::string | T |
Public Member Functions | |
TokenHolder () | |
void | Clear () |
bool | Read (std::istream &is) |
T & | Value () |
~TokenHolder () | |
void | Swap (TokenHolder *other) |
bool | ExtractRange (const TokenHolder &other, const std::string &range) |
Static Public Member Functions | |
static bool | Write (std::ostream &os, bool, const T &t) |
static bool | IsReadInBinary () |
Private Member Functions | |
KALDI_DISALLOW_COPY_AND_ASSIGN (TokenHolder) | |
Private Attributes | |
T | t_ |
Definition at line 639 of file kaldi-holder-inl.h.
typedef std::string T |
Definition at line 641 of file kaldi-holder-inl.h.
|
inline |
Definition at line 643 of file kaldi-holder-inl.h.
|
inline |
Definition at line 676 of file kaldi-holder-inl.h.
|
inline |
|
inline |
Definition at line 682 of file kaldi-holder-inl.h.
References KaldiObjectHolder< KaldiType >::KALDI_DISALLOW_COPY_AND_ASSIGN(), and KALDI_ERR.
|
inlinestatic |
Definition at line 672 of file kaldi-holder-inl.h.
|
private |
|
inline |
Definition at line 654 of file kaldi-holder-inl.h.
References kaldi::CharToString(), KALDI_WARN, and KaldiObjectHolder< KaldiType >::t_.
|
inline |
Definition at line 678 of file kaldi-holder-inl.h.
References KaldiObjectHolder< KaldiType >::t_, and TokenHolder::t_.
|
inline |
Definition at line 645 of file kaldi-holder-inl.h.
References kaldi::IsToken(), and KALDI_ASSERT.
|
private |
Definition at line 690 of file kaldi-holder-inl.h.
Referenced by TokenHolder::Swap().