ugdiss::BitSetCache< TSA > Class Template Reference

#include <ug_tsa_bitset_cache.h>

Collaboration diagram for ugdiss::BitSetCache< TSA >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef boost::dynamic_bitset
< uint64_t > 
BitSet
typedef boost::shared_ptr< BitSetbsptr
typedef std::map< std::pair
< char const *, ushort >
, bsptr
myMap
typedef myMap::iterator myMapIter

Public Member Functions

 BitSetCache ()
 BitSetCache (TSA const *t, size_t th=4194304)
void init (TSA const *t, size_t th=4194304)
bsptr get (typename TSA::Token const *keyStart, size_t keyLen)
bsptr get2 (typename TSA::Token const *keyStart, size_t keyLen, bool onlyEndpoint=true)
void clear ()


Detailed Description

template<typename TSA>
class ugdiss::BitSetCache< TSA >

Definition at line 23 of file ug_tsa_bitset_cache.h.


Member Typedef Documentation

template<typename TSA >
typedef boost::dynamic_bitset<uint64_t> ugdiss::BitSetCache< TSA >::BitSet

Definition at line 27 of file ug_tsa_bitset_cache.h.

template<typename TSA >
typedef boost::shared_ptr<BitSet> ugdiss::BitSetCache< TSA >::bsptr

Definition at line 28 of file ug_tsa_bitset_cache.h.

template<typename TSA >
typedef std::map<std::pair<char const*,ushort>,bsptr> ugdiss::BitSetCache< TSA >::myMap

Definition at line 29 of file ug_tsa_bitset_cache.h.

template<typename TSA >
typedef myMap::iterator ugdiss::BitSetCache< TSA >::myMapIter

Definition at line 30 of file ug_tsa_bitset_cache.h.


Constructor & Destructor Documentation

template<typename TSA >
ugdiss::BitSetCache< TSA >::BitSetCache (  )  [inline]

Definition at line 37 of file ug_tsa_bitset_cache.h.

template<typename TSA >
ugdiss::BitSetCache< TSA >::BitSetCache ( TSA const *  t,
size_t  th = 4194304 
) [inline]

Definition at line 38 of file ug_tsa_bitset_cache.h.

References init().

Here is the call graph for this function:


Member Function Documentation

template<typename TSA >
void ugdiss::BitSetCache< TSA >::clear (  )  [inline]

Definition at line 110 of file ug_tsa_bitset_cache.h.

template<typename TSA >
bsptr ugdiss::BitSetCache< TSA >::get ( typename TSA::Token const *  keyStart,
size_t  keyLen 
) [inline]

template<typename TSA >
bsptr ugdiss::BitSetCache< TSA >::get2 ( typename TSA::Token const *  keyStart,
size_t  keyLen,
bool  onlyEndpoint = true 
) [inline]

template<typename TSA >
void ugdiss::BitSetCache< TSA >::init ( TSA const *  t,
size_t  th = 4194304 
) [inline]

Definition at line 44 of file ug_tsa_bitset_cache.h.


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

Generated on Sun Aug 9 00:34:32 2015 for Moses by  doxygen 1.5.9