Moses::TPCollWrapper Class Reference

#include <TargetPhraseCollectionCache.h>

Inheritance diagram for Moses::TPCollWrapper:

Inheritance graph
[legend]
Collaboration diagram for Moses::TPCollWrapper:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TPCollWrapper (uint64_t const key, size_t const rev)
 ~TPCollWrapper ()

Public Attributes

TPCollCache::cache_t::iterator prev
TPCollCache::cache_t::iterator next
boost::shared_mutex lock
size_t const revision
uint64_t const key

Friends

class TPCollCache
class Mmsapt


Detailed Description

Definition at line 32 of file TargetPhraseCollectionCache.h.


Constructor & Destructor Documentation

Moses::TPCollWrapper::TPCollWrapper ( uint64_t const  key,
size_t const  rev 
)

Definition at line 98 of file TargetPhraseCollectionCache.cc.

Moses::TPCollWrapper::~TPCollWrapper (  ) 

Definition at line 103 of file TargetPhraseCollectionCache.cc.


Friends And Related Function Documentation

friend class Mmsapt [friend]

Definition at line 36 of file TargetPhraseCollectionCache.h.

friend class TPCollCache [friend]

Definition at line 35 of file TargetPhraseCollectionCache.h.


Member Data Documentation

uint64_t const Moses::TPCollWrapper::key

Definition at line 42 of file TargetPhraseCollectionCache.h.

boost::shared_mutex Moses::TPCollWrapper::lock [mutable]

Definition at line 40 of file TargetPhraseCollectionCache.h.

TPCollCache::cache_t::iterator Moses::TPCollWrapper::next

Definition at line 38 of file TargetPhraseCollectionCache.h.

TPCollCache::cache_t::iterator Moses::TPCollWrapper::prev

Definition at line 38 of file TargetPhraseCollectionCache.h.

Definition at line 41 of file TargetPhraseCollectionCache.h.


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

Generated on Thu Jul 6 00:33:55 2017 for Moses by  doxygen 1.5.9