# Interface ICefBaseRefCounted

Description
Hierarchy
Methods

## Unit

uCEFInterfaces

## Declaration

`type ICefBaseRefCounted = interface(IInterface)`

## Description

All ref-counted framework interfaces must inherit from this interface.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_base_capi.h">CEF source file: /include/capi/cef_base_capi.h (cef_base_ref_counted_t))

###### Attributes

GUID['{1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B}']

## Hierarchy

- IInterface
- ICefBaseRefCounted

## Overview

### Methods

Public | `function Wrap: Pointer;`
Public | `function SameAs(aData : Pointer) : boolean; overload;`
Public | `function SameAs(const aBaseRefCounted : ICefBaseRefCounted) : boolean; overload;`
Public | `function HasOneRef: boolean;`
Public | `function HasAtLeastOneRef: boolean;`
Public | `procedure DestroyOtherRefs;`

## Description

### Methods

Public | `function Wrap: Pointer;`
Called to increment the reference count for the object. Should be called for every new copy of a pointer to a given object.

Public | `function SameAs(aData : Pointer) : boolean; overload;`
Compares the aData pointer with the FData field if the current instance.

Public | `function SameAs(const aBaseRefCounted : ICefBaseRefCounted) : boolean; overload;`
This item has no description.

Public | `function HasOneRef: boolean;`
Returns true (1) if the current reference count is 1.

Public | `function HasAtLeastOneRef: boolean;`
Returns true (1) if the current reference count is at least 1.

Public | `procedure DestroyOtherRefs;`
Releases all other instances.

Generated by PasDoc 1.0.4.