Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
util::SortedUniformMap< PackingT > Class Template Reference

#include <sorted_uniform.hh>

List of all members.

Classes

struct  Accessor

Public Types

typedef PackingT Packing
typedef Packing::ConstIterator ConstIterator
typedef Packing::MutableIterator MutableIterator

Public Member Functions

 SortedUniformMap ()
 SortedUniformMap (void *start, std::size_t)
void LoadedBinary ()
template<class T >
void Insert (const T &t)
void FinishedInserting ()
template<class Key >
bool UnsafeMutableFind (const Key key, MutableIterator &out)
template<class Key >
bool Find (const Key key, ConstIterator &out) const
ConstIterator begin () const
ConstIterator end () const

Static Public Member Functions

static std::size_t Size (std::size_t entries, float=0.0)

Private Attributes

Packing::MutableIterator begin_
Packing::MutableIterator end_
uint64_t * size_ptr_

template<class PackingT>
class util::SortedUniformMap< PackingT >


Member Typedef Documentation

template<class PackingT >
typedef Packing::ConstIterator util::SortedUniformMap< PackingT >::ConstIterator
template<class PackingT >
typedef Packing::MutableIterator util::SortedUniformMap< PackingT >::MutableIterator
template<class PackingT >
typedef PackingT util::SortedUniformMap< PackingT >::Packing

Constructor & Destructor Documentation

template<class PackingT >
util::SortedUniformMap< PackingT >::SortedUniformMap ( )
template<class PackingT >
util::SortedUniformMap< PackingT >::SortedUniformMap ( void *  start,
std::size_t   
)

Member Function Documentation

template<class PackingT >
ConstIterator util::SortedUniformMap< PackingT >::begin ( ) const

Here is the caller graph for this function:

template<class PackingT >
ConstIterator util::SortedUniformMap< PackingT >::end ( ) const
template<class PackingT >
template<class Key >
bool util::SortedUniformMap< PackingT >::Find ( const Key  key,
ConstIterator out 
) const

Here is the caller graph for this function:

template<class PackingT >
void util::SortedUniformMap< PackingT >::FinishedInserting ( )

Here is the caller graph for this function:

template<class PackingT >
template<class T >
void util::SortedUniformMap< PackingT >::Insert ( const T &  t)

Here is the caller graph for this function:

template<class PackingT >
void util::SortedUniformMap< PackingT >::LoadedBinary ( )
template<class PackingT >
static std::size_t util::SortedUniformMap< PackingT >::Size ( std::size_t  entries,
float  = 0.0 
) [static]
template<class PackingT >
template<class Key >
bool util::SortedUniformMap< PackingT >::UnsafeMutableFind ( const Key  key,
MutableIterator out 
)

Member Data Documentation

template<class PackingT >
Packing::MutableIterator util::SortedUniformMap< PackingT >::begin_ [private]
template<class PackingT >
Packing::MutableIterator util::SortedUniformMap< PackingT >::end_ [private]
template<class PackingT >
uint64_t* util::SortedUniformMap< PackingT >::size_ptr_ [private]