All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SequentialTableReader< Holder > Class Template Reference

A templated class for reading objects sequentially from an archive or script file; see The Table concept. More...

#include <kaldi-table.h>

Collaboration diagram for SequentialTableReader< Holder >:

Public Types

typedef Holder::T T
 

Public Member Functions

 SequentialTableReader ()
 
 SequentialTableReader (const std::string &rspecifier)
 
bool Open (const std::string &rspecifier)
 
bool Done ()
 
std::string Key ()
 
void FreeCurrent ()
 
const TValue ()
 
void Next ()
 
bool IsOpen () const
 
bool Close ()
 
 ~SequentialTableReader ()
 
 SequentialTableReader (const SequentialTableReader< Holder > &other)
 

Private Member Functions

SequentialTableReaderoperator= (const SequentialTableReader< Holder > &)
 
void CheckImpl () const
 

Private Attributes

SequentialTableReaderImplBase
< Holder > * 
impl_
 

Detailed Description

template<class Holder>
class kaldi::SequentialTableReader< Holder >

A templated class for reading objects sequentially from an archive or script file; see The Table concept.

Definition at line 287 of file kaldi-table.h.

Member Typedef Documentation

typedef Holder::T T

Definition at line 289 of file kaldi-table.h.

Constructor & Destructor Documentation

Definition at line 291 of file kaldi-table.h.

291 : impl_(NULL) { }
SequentialTableReaderImplBase< Holder > * impl_
Definition: kaldi-table.h:359
SequentialTableReader ( const SequentialTableReader< Holder > &  other)
inline

Definition at line 352 of file kaldi-table.h.

References SequentialTableReader< Holder >::impl_, and KALDI_ASSERT.

352  :
353  impl_(NULL) { KALDI_ASSERT(other.impl_ == NULL); }
SequentialTableReaderImplBase< Holder > * impl_
Definition: kaldi-table.h:359
#define KALDI_ASSERT(cond)
Definition: kaldi-error.h:169

Member Function Documentation

SequentialTableReader& operator= ( const SequentialTableReader< Holder > &  )
private

Member Data Documentation

SequentialTableReaderImplBase<Holder>* impl_
private

The documentation for this class was generated from the following files: