A templated class for writing objects to an archive or script file; see The Table concept. More...
#include <kaldi-table.h>
Public Types | |
typedef Holder::T | T |
Public Member Functions | |
TableWriter () | |
TableWriter (const std::string &wspecifier) | |
bool | Open (const std::string &wspecifier) |
bool | IsOpen () const |
void | Write (const std::string &key, const T &value) const |
void | Flush () |
bool | Close () |
~TableWriter () | |
TableWriter (const TableWriter &other) | |
Private Member Functions | |
TableWriter & | operator= (const TableWriter &) |
void | CheckImpl () const |
Private Attributes | |
TableWriterImplBase< Holder > * | impl_ |
A templated class for writing objects to an archive or script file; see The Table concept.
Definition at line 368 of file kaldi-table.h.
typedef Holder::T T |
Definition at line 370 of file kaldi-table.h.
|
inline |
Definition at line 372 of file kaldi-table.h.
|
inline |
Definition at line 406 of file kaldi-table.h.
References TableWriter< Holder >::impl_, and KALDI_ASSERT.
|
private |
|
private |
Definition at line 414 of file kaldi-table.h.
Referenced by TableWriter< Holder >::Close(), TableWriter< Holder >::Flush(), TableWriter< Holder >::IsOpen(), TableWriter< Holder >::Open(), TableWriter< Holder >::TableWriter(), and TableWriter< Holder >::Write().