CCommutativeCacheManagement< CacheType > Class Template Reference

#include <CCacheManagement.h>

Inheritance diagram for CCommutativeCacheManagement< CacheType >:
CCacheManagement< CacheType, 2 > CCacheManBase< CTypes::manager_base, CacheType, ArgumentLength > CommutativeCacheManager< CacheType >

List of all members.

Public Types

typedef CCacheManagement
< cache_type, 2 > 
base
 Name base type.
typedef base::node_type node_type
 Define node type.
typedef base::navigator navigator
Get template parameters



typedef CacheType cache_type

Public Member Functions

 CCommutativeCacheManagement (const typename base::manager_type &mgr)
 Constructor and default constructor.
node_type find (node_type first, node_type second) const
 Find cached value wrt. given node.
navigator find (navigator first, navigator second) const
 Find cached value wrt. given node (for navigator type).
void insert (node_type first, node_type second, node_type result) const
 Store cached value wrt. given node.
void insert (navigator first, navigator second, navigator result) const
 Store cached value wrt. given node (for navigator type).

Detailed Description

template<class CacheType>
class CCommutativeCacheManagement< CacheType >

This is the variant for cache management of binary commutative functions.


Member Typedef Documentation

template<class CacheType >
typedef CCacheManagement<cache_type, 2> CCommutativeCacheManagement< CacheType >::base

Name base type.

Reimplemented from CCacheManagement< CacheType, 2 >.

Reimplemented in CommutativeCacheManager< CacheType >.

template<class CacheType >
typedef CacheType CCommutativeCacheManagement< CacheType >::cache_type

Reimplemented from CCacheManagement< CacheType, 2 >.

template<class CacheType >
typedef base::navigator CCommutativeCacheManagement< CacheType >::navigator
template<class CacheType >
typedef base::node_type CCommutativeCacheManagement< CacheType >::node_type

Define node type.

Reimplemented from CCacheManagement< CacheType, 2 >.


Constructor & Destructor Documentation

template<class CacheType >
CCommutativeCacheManagement< CacheType >::CCommutativeCacheManagement ( const typename base::manager_type mgr  )  [inline]

Constructor and default constructor.


Member Function Documentation

template<class CacheType >
navigator CCommutativeCacheManagement< CacheType >::find ( navigator  first,
navigator  second 
) const [inline]

Find cached value wrt. given node (for navigator type).

References explicit_navigator_cast(), and CCommutativeCacheManagement< CacheType >::find().

template<class CacheType >
node_type CCommutativeCacheManagement< CacheType >::find ( node_type  first,
node_type  second 
) const [inline]

Find cached value wrt. given node.

Referenced by CCommutativeCacheManagement< CacheType >::find().

template<class CacheType >
void CCommutativeCacheManagement< CacheType >::insert ( navigator  first,
navigator  second,
navigator  result 
) const [inline]

Store cached value wrt. given node (for navigator type).

References CCommutativeCacheManagement< CacheType >::insert().

template<class CacheType >
void CCommutativeCacheManagement< CacheType >::insert ( node_type  first,
node_type  second,
node_type  result 
) const [inline]

Store cached value wrt. given node.

Referenced by CCommutativeCacheManagement< CacheType >::insert().


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

Generated on 23 Dec 2009 for PolyBoRi by  doxygen 1.6.1