# Class TCefBaseRefCountedOwn

Description
Hierarchy
Fields
Methods

## Unit

uCEFBaseRefCounted

## Declaration

`type TCefBaseRefCountedOwn = class(TInterfacedObject, ICefBaseRefCounted)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn

## Overview

### Fields

Protected | `FData: Pointer;`

### Methods

Protected | `function HasOneRef: boolean;`
Protected | `function HasAtLeastOneRef: boolean;`
Public | `constructor CreateData(size: Cardinal; owned : boolean = False); virtual;`
Public | `destructor Destroy; override;`
Public | `function SameAs(aData : Pointer) : boolean; overload;`
Public | `function SameAs(const aBaseRefCounted : ICefBaseRefCounted) : boolean; overload;`
Public | `procedure DestroyOtherRefs;`
Public | `function Wrap: Pointer;`

## Description

### Fields

Protected | `FData: Pointer;`
This item has no description.

### Methods

Protected | `function HasOneRef: boolean;`
This item has no description. Showing description inherited from ICefBaseRefCounted.HasOneRef. Returns true (1) if the current reference count is 1.

Protected | `function HasAtLeastOneRef: boolean;`
This item has no description. Showing description inherited from ICefBaseRefCounted.HasAtLeastOneRef. Returns true (1) if the current reference count is at least 1.

Public | `constructor CreateData(size: Cardinal; owned : boolean = False); virtual;`
This item has no description.

Public | `destructor Destroy; override;`
This item has no description.

Public | `function SameAs(aData : Pointer) : boolean; overload;`
This item has no description. Showing description inherited from ICefBaseRefCounted.SameAs. 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 | `procedure DestroyOtherRefs;`
This item has no description. Showing description inherited from ICefBaseRefCounted.DestroyOtherRefs. Releases all other instances.

Public | `function Wrap: Pointer;`
This item has no description. Showing description inherited from ICefBaseRefCounted.Wrap. Called to increment the reference count for the object. Should be called for every new copy of a pointer to a given object.

Generated by PasDoc 1.0.4.