#include <kaldi-lattice.h>
Public Types | |
typedef CompactLattice | T |
Public Member Functions | |
CompactLatticeHolder () | |
bool | Read (std::istream &is) |
T & | Value () |
void | Clear () |
void | Swap (CompactLatticeHolder *other) |
bool | ExtractRange (const CompactLatticeHolder &other, const std::string &range) |
~CompactLatticeHolder () | |
Static Public Member Functions | |
static bool | Write (std::ostream &os, bool binary, const T &t) |
static bool | IsReadInBinary () |
Private Attributes | |
T * | t_ |
Definition at line 69 of file kaldi-lattice.h.
typedef CompactLattice T |
Definition at line 71 of file kaldi-lattice.h.
|
inline |
|
inline |
|
inline |
Definition at line 91 of file kaldi-lattice.h.
References CompactLatticeHolder::t_.
Referenced by CompactLatticeHolder::~CompactLatticeHolder(), and LatticeHolder::~LatticeHolder().
|
inline |
|
inlinestatic |
Definition at line 84 of file kaldi-lattice.h.
bool Read | ( | std::istream & | is | ) |
Definition at line 366 of file kaldi-lattice.cc.
References KALDI_WARN, and kaldi::ReadCompactLattice().
Referenced by CompactLatticeHolder::Write(), and LatticeHolder::Write().
|
inline |
Definition at line 93 of file kaldi-lattice.h.
References kaldi::swap(), and CompactLatticeHolder::t_.
|
inline |
Definition at line 86 of file kaldi-lattice.h.
References KALDI_ASSERT, and CompactLatticeHolder::t_.
Definition at line 75 of file kaldi-lattice.h.
References CompactLatticeHolder::Read(), and kaldi::WriteCompactLattice().
|
private |
Definition at line 104 of file kaldi-lattice.h.
Referenced by CompactLatticeHolder::Clear(), LatticeHolder::Clear(), CompactLatticeHolder::CompactLatticeHolder(), LatticeHolder::LatticeHolder(), CompactLatticeHolder::Swap(), LatticeHolder::Swap(), CompactLatticeHolder::Value(), and LatticeHolder::Value().