mamba/include/pool.hpp

43 lines
734 B
C++

// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef MAMBA_POOL_HPP
#define MAMBA_POOL_HPP
#include "context.hpp"
extern "C"
{
#include "solv/pool.h"
}
namespace mamba
{
class MPool
{
public:
MPool();
~MPool();
MPool(const MPool&) = delete;
MPool& operator=(const MPool&) = delete;
MPool(MPool&&) = delete;
MPool& operator=(MPool&&) = delete;
void set_debuglevel();
void create_whatprovides();
operator Pool*();
private:
Pool* m_pool;
};
}
#endif // MAMBA_POOL_HPP