#include <event-map.h>
Definition at line 166 of file event-map.h.
◆ ConstantEventMap()
◆ Copy()
◆ GetChildren()
virtual void GetChildren |
( |
std::vector< EventMap *> * |
out | ) |
const |
|
inlinevirtual |
◆ KALDI_DISALLOW_COPY_AND_ASSIGN()
◆ Map()
◆ MapValues()
◆ MultiMap()
◆ Prune()
◆ Read()
Definition at line 64 of file event-map.cc.
References kaldi::ExpectToken(), and kaldi::ReadBasicType().
Referenced by EventMap::Read().
ConstantEventMap(EventAnswerType answer)
void ReadBasicType(std::istream &is, bool binary, T *t)
ReadBasicType is the name of the read function for bool, integer types, and floating-point types...
void ExpectToken(std::istream &is, bool binary, const char *token)
ExpectToken tries to read in the given token, and throws an exception on failure. ...
int32 EventAnswerType
As far as the event-map code itself is concerned, things of type EventAnswerType may take any value e...
◆ Write()
void Write |
( |
std::ostream & |
os, |
|
|
bool |
binary |
|
) |
| |
|
virtual |
Write to stream.
Implements EventMap.
Definition at line 55 of file event-map.cc.
References KALDI_ERR, kaldi::WriteBasicType(), and kaldi::WriteToken().
59 KALDI_ERR <<
"ConstantEventMap::Write(), could not write to stream.";
void WriteToken(std::ostream &os, bool binary, const char *token)
The WriteToken functions are for writing nonempty sequences of non-space characters.
void WriteBasicType(std::ostream &os, bool binary, T t)
WriteBasicType is the name of the write function for bool, integer types, and floating-point types...
◆ answer_
The documentation for this class was generated from the following files: