PandA-2024.02
Public Member Functions | Data Fields
refcount< T >::Ref Struct Reference

Public Member Functions

 Ref (T *p)
 
template<class null_deleter >
 Ref (T *p, null_deleter &d)
 
 ~Ref ()
 
Refincrement ()
 
bool decrement ()
 

Data Fields

T *const ptr
 
unsigned int count: 31
 
unsigned int deleter: 1
 

Detailed Description

template<typename T>
struct refcount< T >::Ref

Definition at line 98 of file refcount.hpp.

Constructor & Destructor Documentation

◆ Ref() [1/2]

template<typename T>
refcount< T >::Ref::Ref ( T *  p)
inline

Definition at line 104 of file refcount.hpp.

◆ Ref() [2/2]

template<typename T>
template<class null_deleter >
refcount< T >::Ref::Ref ( T *  p,
null_deleter d 
)
inline

Definition at line 108 of file refcount.hpp.

◆ ~Ref()

template<typename T>
refcount< T >::Ref::~Ref ( )
inline

Definition at line 111 of file refcount.hpp.

Member Function Documentation

◆ decrement()

template<typename T>
bool refcount< T >::Ref::decrement ( )
inline

Definition at line 121 of file refcount.hpp.

◆ increment()

template<typename T>
Ref* refcount< T >::Ref::increment ( )
inline

Definition at line 116 of file refcount.hpp.

Referenced by refcount< structural_manager >::operator=().

Here is the caller graph for this function:

Field Documentation

◆ count

template<typename T>
unsigned int refcount< T >::Ref::count

Definition at line 101 of file refcount.hpp.

◆ deleter

template<typename T>
unsigned int refcount< T >::Ref::deleter

Definition at line 102 of file refcount.hpp.

◆ ptr

template<typename T>
T* const refcount< T >::Ref::ptr

Definition at line 100 of file refcount.hpp.


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

Generated on Mon Feb 12 2024 13:04:02 for PandA-2024.02 by doxygen 1.8.13