MosesTuning::FixedAllocator< T > Class Template Reference

#include <Hypergraph.h>

Inheritance diagram for MosesTuning::FixedAllocator< T >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 FixedAllocator ()
void Init (std::size_t count)
Toperator[] (std::size_t idx)
const Toperator[] (std::size_t idx) const
TNew ()
std::size_t Capacity () const
std::size_t Size () const


Detailed Description

template<class T>
class MosesTuning::FixedAllocator< T >

Definition at line 47 of file Hypergraph.h.


Constructor & Destructor Documentation

template<class T>
MosesTuning::FixedAllocator< T >::FixedAllocator (  )  [inline]

Definition at line 50 of file Hypergraph.h.


Member Function Documentation

template<class T>
std::size_t MosesTuning::FixedAllocator< T >::Capacity (  )  const [inline]

Definition at line 72 of file Hypergraph.h.

template<class T>
void MosesTuning::FixedAllocator< T >::Init ( std::size_t  count  )  [inline]

Definition at line 52 of file Hypergraph.h.

Referenced by MosesTuning::Graph::SetCounts().

Here is the caller graph for this function:

template<class T>
T* MosesTuning::FixedAllocator< T >::New (  )  [inline]

Definition at line 66 of file Hypergraph.h.

Referenced by MosesTuning::Graph::NewEdge(), and MosesTuning::Graph::NewVertex().

Here is the caller graph for this function:

template<class T>
const T& MosesTuning::FixedAllocator< T >::operator[] ( std::size_t  idx  )  const [inline]

Definition at line 62 of file Hypergraph.h.

template<class T>
T& MosesTuning::FixedAllocator< T >::operator[] ( std::size_t  idx  )  [inline]

Definition at line 59 of file Hypergraph.h.

template<class T>
std::size_t MosesTuning::FixedAllocator< T >::Size (  )  const [inline]

Definition at line 76 of file Hypergraph.h.

Referenced by MosesTuning::Graph::EdgeSize(), MosesTuning::Graph::Prune(), and MosesTuning::Graph::VertexSize().

Here is the caller graph for this function:


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

Generated on Thu Jul 6 00:34:16 2017 for Moses by  doxygen 1.5.9