FST  openfst-1.7.1
OpenFst Library
Public Member Functions | List of all members
fst::ArcArena< Arc > Class Template Reference

#include <arc-arena.h>

Public Member Functions

 ArcArena (size_t block_size=256, size_t max_retained_size=1e6)
 
 ArcArena (const ArcArena &copy)
 
void ReserveArcs (size_t n)
 
void PushArc (const Arc &arc)
 
const Arc * GetArcs ()
 
void DropArcs ()
 
size_t Size ()
 
void Clear ()
 

Detailed Description

template<typename Arc>
class fst::ArcArena< Arc >

Definition at line 37 of file arc-arena.h.

Constructor & Destructor Documentation

template<typename Arc>
fst::ArcArena< Arc >::ArcArena ( size_t  block_size = 256,
size_t  max_retained_size = 1e6 
)
inlineexplicit

Definition at line 39 of file arc-arena.h.

template<typename Arc>
fst::ArcArena< Arc >::ArcArena ( const ArcArena< Arc > &  copy)
inline

Definition at line 51 of file arc-arena.h.

Member Function Documentation

template<typename Arc>
void fst::ArcArena< Arc >::Clear ( )
inline

Definition at line 85 of file arc-arena.h.

template<typename Arc>
void fst::ArcArena< Arc >::DropArcs ( )
inline

Definition at line 81 of file arc-arena.h.

template<typename Arc>
const Arc* fst::ArcArena< Arc >::GetArcs ( )
inline

Definition at line 75 of file arc-arena.h.

template<typename Arc>
void fst::ArcArena< Arc >::PushArc ( const Arc &  arc)
inline

Definition at line 66 of file arc-arena.h.

template<typename Arc>
void fst::ArcArena< Arc >::ReserveArcs ( size_t  n)
inline

Definition at line 61 of file arc-arena.h.

template<typename Arc>
size_t fst::ArcArena< Arc >::Size ( )
inline

Definition at line 83 of file arc-arena.h.


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