ExternalRefCountWithDestroyFn Struct Reference


Detailed Description

Definition at line 201 of file qsharedpointer_impl.h.

#include <qsharedpointer_impl.h>

Inheritance diagram for ExternalRefCountWithDestroyFn:
Inheritance graph
[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


Constructor & Destructor Documentation

Definition at line 206 of file qsharedpointer_impl.h.

            : destroyer(d)
        { }

Member Function Documentation

bool destroy ( ) [inline, virtual]

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


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