ISIS Core Library 0.7.2 (api 3.0.0)
Public Member Functions

isis::data::ValueArrayBase::DelProxy Class Reference

Proxy-Deleter to encapsulate the real deleter/shared_ptr when creating shared_ptr for parts of a shared_ptr. More...

#include <valuearray_base.hpp>

Public Member Functions

 DelProxy (const ValueArrayBase &master)
 Create a proxy for a given master shared_ptr This increments the use_count of the master and thus keeps the master from being deleted while parts of it are still in use.
void operator() (const void *at)
 decrement the use_count of the master when a specific part is not referenced anymore

Detailed Description

Proxy-Deleter to encapsulate the real deleter/shared_ptr when creating shared_ptr for parts of a shared_ptr.

Definition at line 143 of file valuearray_base.hpp.


Constructor & Destructor Documentation

isis::data::ValueArrayBase::DelProxy::DelProxy ( const ValueArrayBase master)

Create a proxy for a given master shared_ptr This increments the use_count of the master and thus keeps the master from being deleted while parts of it are still in use.

Definition at line 34 of file valuearray_base.cpp.


Member Function Documentation

void isis::data::ValueArrayBase::DelProxy::operator() ( const void *  at)

decrement the use_count of the master when a specific part is not referenced anymore

Definition at line 599 of file propmap.cpp.


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