<!DOCTYPE html> <html lang="en"> <head> <title>cef4delphi: uCEFBaseRefCounted: Class TCefBaseRefCountedRef</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" content="PasDoc 0.16.0-snapshot"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="StyleSheet" type="text/css" href="pasdoc.css"> </head> <body> <span id="TCefBaseRefCountedRef"></span><h1 class="cio">Class TCefBaseRefCountedRef</h1> <div class="sections"> <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 class="one_section">Properties</div></div> <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"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <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"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <td class="itemcode"><code>function <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#HasOneRef">HasOneRef</a></strong>: boolean;</code></td> </tr> <tr class="list2"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <td class="itemcode"><code>function <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#HasAtLeastOneRef">HasAtLeastOneRef</a></strong>: boolean;</code></td> </tr> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code>constructor <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Create-Pointer-">Create</a></strong>(data: Pointer); virtual;</code></td> </tr> <tr class="list2"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code>destructor <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Destroy">Destroy</a></strong>; override;</code></td> </tr> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code>function <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#SameAs-Pointer-">SameAs</a></strong>(aData : Pointer) : boolean; overload;</code></td> </tr> <tr class="list2"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code>procedure <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#DestroyOtherRefs">DestroyOtherRefs</a></strong>;</code></td> </tr> <tr class="list2"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code>function <strong><a href="uCEFBaseRefCounted.TCefBaseRefCountedRef.html#Wrap">Wrap</a></strong>: Pointer;</code></td> </tr> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <table class="detail wide_list"> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <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> <hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em> </span> </body></html>