carl  24.04
Computer ARithmetic Library
carl::pool::LocalPoolElementWrapper< Content > Class Template Reference

#include <LocalPool.h>

Inheritance diagram for carl::pool::LocalPoolElementWrapper< Content >:
Collaboration diagram for carl::pool::LocalPoolElementWrapper< Content >:

Public Member Functions

template<typename ... Args>
 LocalPoolElementWrapper (std::shared_ptr< LocalPool< Content >> pool, Args &&...args)
 
 ~LocalPoolElementWrapper ()
 
const Content & content () const
 
auto id () const
 

Private Attributes

friend LocalPool< Content >
 
std::size_t m_id
 
std::weak_ptr< LocalPoolElementWrapper< Content > > m_weak_ptr
 
std::shared_ptr< LocalPool< Content > > m_pool
 
Content m_content
 

Detailed Description

template<class Content>
class carl::pool::LocalPoolElementWrapper< Content >

Definition at line 16 of file LocalPool.h.

Constructor & Destructor Documentation

◆ LocalPoolElementWrapper()

template<class Content >
template<typename ... Args>
carl::pool::LocalPoolElementWrapper< Content >::LocalPoolElementWrapper ( std::shared_ptr< LocalPool< Content >>  pool,
Args &&...  args 
)
inlineexplicit

Definition at line 26 of file LocalPool.h.

◆ ~LocalPoolElementWrapper()

template<class Content >
carl::pool::LocalPoolElementWrapper< Content >::~LocalPoolElementWrapper ( )
inline

Definition at line 27 of file LocalPool.h.

Member Function Documentation

◆ content()

template<class Content >
const Content& carl::pool::LocalPoolElementWrapper< Content >::content ( ) const
inline

Definition at line 31 of file LocalPool.h.

Here is the caller graph for this function:

◆ id()

template<class Content >
auto carl::pool::LocalPoolElementWrapper< Content >::id ( ) const
inline

Definition at line 35 of file LocalPool.h.

Here is the caller graph for this function:

Field Documentation

◆ LocalPool< Content >

template<class Content >
friend carl::pool::LocalPoolElementWrapper< Content >::LocalPool< Content >
private

Definition at line 17 of file LocalPool.h.

◆ m_content

template<class Content >
Content carl::pool::LocalPoolElementWrapper< Content >::m_content
private

Definition at line 22 of file LocalPool.h.

◆ m_id

template<class Content >
std::size_t carl::pool::LocalPoolElementWrapper< Content >::m_id
private

Definition at line 19 of file LocalPool.h.

◆ m_pool

template<class Content >
std::shared_ptr<LocalPool<Content> > carl::pool::LocalPoolElementWrapper< Content >::m_pool
private

Definition at line 21 of file LocalPool.h.

◆ m_weak_ptr

template<class Content >
std::weak_ptr<LocalPoolElementWrapper<Content> > carl::pool::LocalPoolElementWrapper< Content >::m_weak_ptr
private

Definition at line 20 of file LocalPool.h.


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