/usr/include/polybori/cache/CacheManager.h is in libbrial-dev 0.8.5-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | // -*- c++ -*-
//*****************************************************************************
/** @file CacheManager.h
*
* @author Alexander Dreyer
* @date 2006-11-22
*
* This file contains the user variant for the (internal) CCacheManagement,
* which can find the active ring.
*
* @par Copyright:
* (c) 2006 by The PolyBoRi Team
**/
//*****************************************************************************
#ifndef polybori_cache_CacheManager_h_
#define polybori_cache_CacheManager_h_
// include basic definitions
#include <polybori/pbori_defs.h>
// get internal cache management classes
#include "CCacheManagement.h"
#include <polybori/BoolePolyRing.h>
BEGIN_NAMESPACE_PBORI
class BooleEnv;
template <class CacheType>
class CacheManager:
public CCacheManagement<BoolePolyRing, CacheType, CacheType::nargs> {
public:
/// Define base type
typedef CCacheManagement<BoolePolyRing, CacheType, CacheType::nargs> base;
typedef typename base::manager_type manager_type;
/// Constructor
CacheManager(const manager_type& mgr):
base(mgr) {}
/// Destructor
~CacheManager() {}
};
template <class CacheType>
class CommutativeCacheManager:
public CCommutativeCacheManagement<BoolePolyRing, CacheType> {
public:
/// Define base type
typedef CCommutativeCacheManagement<BoolePolyRing, CacheType> base;
typedef typename base::manager_type manager_type;
/// Constructor
CommutativeCacheManager(const manager_type& mgr):
base(mgr) {}
/// Destructor
~CommutativeCacheManager() {}
};
END_NAMESPACE_PBORI
#endif
|