2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFBaseRefCounted: Class TCefBaseRefCountedRef< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-03-30 18:44:20 +02:00
< meta name = "generator" content = "PasDoc 1.0.2" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin: 0.5em; }
.badge { padding: 0.1em 0.5em; color: white; }
< / style > < / head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "TCefBaseRefCountedRef" > < / span > < h1 class = "cio" > Class TCefBaseRefCountedRef< / h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Fields" > Fields< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < / div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFBaseRefCounted.html" > uCEFBaseRefCounted< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type TCefBaseRefCountedRef = class(TInterfacedObject, < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p class = "nodescription" > This item has no description.< / p > < span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > TInterfacedObject< / li >
< li class = "thisitem" > TCefBaseRefCountedRef< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Fields" > < / span > < h3 class = "summary" > Fields< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#FData" > FData< / a > < / strong > : Pointer;< / code > < / td >
< / tr >
< / table >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#HasOneRef" > HasOneRef< / a > < / strong > : boolean;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#HasAtLeastOneRef" > HasAtLeastOneRef< / a > < / strong > : boolean;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > constructor < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Create-Pointer-" > Create< / a > < / strong > (data: Pointer); virtual;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > destructor < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Destroy" > Destroy< / a > < / strong > ; override;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#SameAs-Pointer-" > SameAs< / a > < / strong > (aData : Pointer) : boolean; overload;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#SameAs-ICefBaseRefCounted-" > SameAs< / a > < / strong > (const aBaseRefCounted : < a href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > ) : boolean; overload;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#DestroyOtherRefs" > DestroyOtherRefs< / a > < / strong > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Wrap" > Wrap< / a > < / strong > : Pointer;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > class function < strong > < a href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html#UnWrap-Pointer-" > UnWrap< / a > < / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > ;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Fields< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "FData" > < / span > < code > < strong > FData< / strong > : Pointer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
< h3 class = "detail" > Methods< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "HasOneRef" > < / span > < code > function < strong > HasOneRef< / strong > : boolean;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html#HasOneRef" > ICefBaseRefCounted.HasOneRef< / a > .< / p > < p >
Returns true (1) if the current reference count is 1. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" > < span class = "badge vis-protected" > Protected< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "HasAtLeastOneRef" > < / span > < code > function < strong > HasAtLeastOneRef< / strong > : boolean;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html#HasAtLeastOneRef" > ICefBaseRefCounted.HasAtLeastOneRef< / a > .< / p > < p >
Returns true (1) if the current reference count is at least 1. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Create-Pointer-" > < / span > < code > constructor < strong > Create< / strong > (data: Pointer); virtual;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Destroy" > < / span > < code > destructor < strong > Destroy< / strong > ; override;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "SameAs-Pointer-" > < / span > < code > function < strong > SameAs< / strong > (aData : Pointer) : boolean; overload;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html#SameAs-Pointer-" > ICefBaseRefCounted.SameAs< / a > .< / p > < p >
Compares the aData pointer with the FData field if the current instance. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "SameAs-ICefBaseRefCounted-" > < / span > < code > function < strong > SameAs< / strong > (const aBaseRefCounted : < a href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > ) : boolean; overload;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "DestroyOtherRefs" > < / span > < code > procedure < strong > DestroyOtherRefs< / strong > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html#DestroyOtherRefs" > ICefBaseRefCounted.DestroyOtherRefs< / a > .< / p > < p >
Releases all other instances. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Wrap" > < / span > < code > function < strong > Wrap< / strong > : Pointer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html#Wrap" > ICefBaseRefCounted.Wrap< / a > .< / p > < p >
Called to increment the reference count for the object. Should be called for every new copy of a pointer to a given object. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "UnWrap-Pointer-" > < / span > < code > class function < strong > UnWrap< / strong > (data: Pointer): < a href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p class = "nodescription" > This item has no description.< / p > < / td > < / tr >
< / table >
2026-03-30 18:44:20 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.2< / a > . < / em >
2024-02-24 12:01:31 +01:00
< / span >
< / body > < / html >