FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::MemoryArenaImpl< object_size > Class Template Reference

#include <memory.h>

Inheritance diagram for fst::internal::MemoryArenaImpl< object_size >:
Inheritance graph
[legend]
Collaboration diagram for fst::internal::MemoryArenaImpl< object_size >:
Collaboration graph
[legend]

Public Types

enum  { kObjectSize = object_size }
 

Public Member Functions

 MemoryArenaImpl (size_t block_size=kAllocSize)
 
void * Allocate (size_t size)
 
size_t Size () const override
 
- Public Member Functions inherited from fst::MemoryArenaBase
virtual ~MemoryArenaBase ()
 

Detailed Description

template<size_t object_size>
class fst::internal::MemoryArenaImpl< object_size >

Definition at line 41 of file memory.h.

Member Enumeration Documentation

template<size_t object_size>
anonymous enum
Enumerator
kObjectSize 

Definition at line 43 of file memory.h.

Constructor & Destructor Documentation

template<size_t object_size>
fst::internal::MemoryArenaImpl< object_size >::MemoryArenaImpl ( size_t  block_size = kAllocSize)
inlineexplicit

Definition at line 45 of file memory.h.

Member Function Documentation

template<size_t object_size>
void* fst::internal::MemoryArenaImpl< object_size >::Allocate ( size_t  size)
inline

Definition at line 50 of file memory.h.

template<size_t object_size>
size_t fst::internal::MemoryArenaImpl< object_size >::Size ( ) const
inlineoverridevirtual

Implements fst::MemoryArenaBase.

Definition at line 70 of file memory.h.


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