Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
btck::Handle< CType, CopyFunc, DestroyFunc > Class Template Reference

#include <bitcoinkernel_wrapper.h>

Public Member Functions

 Handle (CType *ptr)
 Handle (const Handle &other)
Handleoperator= (const Handle &other)
 Handle (Handle &&other) noexcept
Handleoperator= (Handle &&other) noexcept
template<typename ViewType>
 Handle (const ViewType &view)
 ~Handle ()
CType * get ()
const CType * get () const

Protected Attributes

CType * m_ptr

Detailed Description

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
class btck::Handle< CType, CopyFunc, DestroyFunc >

Definition at line 309 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ Handle() [1/4]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
btck::Handle< CType, CopyFunc, DestroyFunc >::Handle ( CType * ptr)
inlineexplicit

Definition at line 315 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Handle() [2/4]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
btck::Handle< CType, CopyFunc, DestroyFunc >::Handle ( const Handle< CType, CopyFunc, DestroyFunc > & other)
inline

Definition at line 318 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ Handle() [3/4]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
btck::Handle< CType, CopyFunc, DestroyFunc >::Handle ( Handle< CType, CopyFunc, DestroyFunc > && other)
inlinenoexcept

Definition at line 330 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ Handle() [4/4]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
template<typename ViewType>
btck::Handle< CType, CopyFunc, DestroyFunc >::Handle ( const ViewType & view)
inline

Definition at line 340 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ ~Handle()

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
btck::Handle< CType, CopyFunc, DestroyFunc >::~Handle ( )
inline

Definition at line 345 of file bitcoinkernel_wrapper.h.

Member Function Documentation

◆ get() [1/2]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
CType * btck::Handle< CType, CopyFunc, DestroyFunc >::get ( )
inline

Definition at line 347 of file bitcoinkernel_wrapper.h.

Here is the caller graph for this function:

◆ get() [2/2]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
const CType * btck::Handle< CType, CopyFunc, DestroyFunc >::get ( ) const
inline

Definition at line 348 of file bitcoinkernel_wrapper.h.

◆ operator=() [1/2]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
Handle & btck::Handle< CType, CopyFunc, DestroyFunc >::operator= ( const Handle< CType, CopyFunc, DestroyFunc > & other)
inline

Definition at line 320 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ operator=() [2/2]

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
Handle & btck::Handle< CType, CopyFunc, DestroyFunc >::operator= ( Handle< CType, CopyFunc, DestroyFunc > && other)
inlinenoexcept

Definition at line 331 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

Member Data Documentation

◆ m_ptr

template<typename CType, CType *(*)(const CType *) CopyFunc, void(*)(CType *) DestroyFunc>
CType* btck::Handle< CType, CopyFunc, DestroyFunc >::m_ptr
protected

Definition at line 312 of file bitcoinkernel_wrapper.h.


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