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 ()
 
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

◆ T

typedef Holder::T T

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

Constructor & Destructor Documentation

◆ SequentialTableReader() [1/2]

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

291 : impl_(NULL) { }
SequentialTableReaderImplBase< Holder > * impl_
Definition: kaldi-table.h:361

◆ SequentialTableReader() [2/2]

SequentialTableReader ( const SequentialTableReader< Holder > &  other)
inline

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

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

354  :
355  impl_(NULL) { KALDI_ASSERT(other.impl_ == NULL); }
SequentialTableReaderImplBase< Holder > * impl_
Definition: kaldi-table.h:361
#define KALDI_ASSERT(cond)
Definition: kaldi-error.h:185

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ impl_


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