FST  openfst-1.7.2
OpenFst Library
Public Member Functions | List of all members
fst::MemoryArenaCollection Class Reference

#include <memory.h>

Public Member Functions

 MemoryArenaCollection (size_t block_size=kAllocSize)
 
template<typename T >
MemoryArena< T > * Arena ()
 
size_t BlockSize () const
 
size_t RefCount () const
 
size_t IncrRefCount ()
 
size_t DecrRefCount ()
 

Detailed Description

Definition at line 157 of file memory.h.

Constructor & Destructor Documentation

fst::MemoryArenaCollection::MemoryArenaCollection ( size_t  block_size = kAllocSize)
inlineexplicit

Definition at line 160 of file memory.h.

Member Function Documentation

template<typename T >
MemoryArena<T>* fst::MemoryArenaCollection::Arena ( )
inline

Definition at line 164 of file memory.h.

size_t fst::MemoryArenaCollection::BlockSize ( ) const
inline

Definition at line 174 of file memory.h.

size_t fst::MemoryArenaCollection::DecrRefCount ( )
inline

Definition at line 180 of file memory.h.

size_t fst::MemoryArenaCollection::IncrRefCount ( )
inline

Definition at line 178 of file memory.h.

size_t fst::MemoryArenaCollection::RefCount ( ) const
inline

Definition at line 176 of file memory.h.


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