PolyBoRi
Public Types | Public Member Functions
polybori::CCommutativeCacheManagement< CacheType > Class Template Reference

#include <CCacheManagement.h>

Inheritance diagram for polybori::CCommutativeCacheManagement< CacheType >:
polybori::CCacheManagement< CacheType, 2 > CCacheManBase< CTypes::manager_base, CacheType, ArgumentLength > polybori::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 polybori::CCommutativeCacheManagement< CacheType >

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


Member Typedef Documentation

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

Define node type.

Reimplemented from polybori::CCacheManagement< CacheType, 2 >.


Constructor & Destructor Documentation

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

Constructor and default constructor.


Member Function Documentation

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

Find cached value wrt. given node.

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

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

References polybori::explicit_navigator_cast().

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

Store cached value wrt. given node.

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

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


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