libmonaa  0.5.2
Public Member Functions | List of all members
LazyDeque Class Reference

A Wrapper of FILE Reading. This class is given to WordContainer class as its template argument. More...

#include <lazy_deque.hh>

Inheritance diagram for LazyDeque:
Inheritance graph
[legend]
Collaboration diagram for LazyDeque:
Collaboration graph
[legend]

Public Member Functions

 LazyDeque (FILE *file, bool isBinary=false)
 
std::pair< Alphabet, double > operator[] (std::size_t n)
 
std::pair< Alphabet, double > at (std::size_t n)
 
std::size_t size () const
 
void setFront (std::size_t newFront)
 Update the internal front. The elements before the front are removed.
 
bool fetch (std::size_t n) noexcept
 

Detailed Description

A Wrapper of FILE Reading. This class is given to WordContainer class as its template argument.

Constructor & Destructor Documentation

◆ LazyDeque()

LazyDeque::LazyDeque ( FILE *  file,
bool  isBinary = false 
)
inline
Parameters
[in]fileThe FILE-pointer of the file in which the input timed word is.
[in]isBinaryA flag if the input is in a binary file.

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