- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes

# ExternalRefCountWithDestroyFn Struct Reference

Search for all occurrences

## Detailed Description

Definition at line 201 of file qsharedpointer_impl.h.

`#include <qsharedpointer_impl.h>`

Inheritance diagram for ExternalRefCountWithDestroyFn:
[legend]

List of all members.

## Public Types
typedef void(* | DestroyerFn )(ExternalRefCountData *)
## Public Member Functions
| ExternalRefCountWithDestroyFn (DestroyerFn d)
bool | destroy ()
void | operator delete (void *ptr)
void | operator delete (void *, void *)
## Public Attributes
DestroyerFn | destroyer

## Member Typedef Documentation

typedef void(* DestroyerFn)(ExternalRefCountData *)

Search for all occurrences

Definition at line 203 of file qsharedpointer_impl.h.

## Constructor & Destructor Documentation

ExternalRefCountWithDestroyFn | ( | DestroyerFn | d | ) | `[inline]`

Definition at line 206 of file qsharedpointer_impl.h.

                : destroyer(d)
            { }

## Member Function Documentation

bool destroy | ( |  | ) | `[inline, virtual]`

Search for all occurrences

Reimplemented from ExternalRefCountData.

Definition at line 210 of file qsharedpointer_impl.h.

    { destroyer(this); return true; }

void operator delete | ( | void * | ptr | ) | `[inline]`

Definition at line 211 of file qsharedpointer_impl.h.

    { ::operator delete(ptr); }

void operator delete | ( | void * | ,
|  | void * |
| ) |  | `[inline]`

Definition at line 212 of file qsharedpointer_impl.h.

    { }

## Member Data Documentation

DestroyerFn destroyer

Search for all occurrences

Definition at line 204 of file qsharedpointer_impl.h.

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

- QtCore/qsharedpointer_impl.h