| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <title>Skia: SkRefCntRecorder Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <!-- Generated by Doxygen 1.6.1 --> |
| <div class="navigation" id="top"> |
| <div class="tabs"> |
| <ul> |
| <li><a href="main.html"><span>Main Page</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| </ul> |
| </div> |
| <div class="tabs"> |
| <ul> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="contents"> |
| <h1>SkRefCntRecorder Class Reference</h1><!-- doxytag: class="SkRefCntRecorder" --><!-- doxytag: inherits="SkPtrRecorder" --> |
| <p><code>#include <<a class="el" href="_sk_flattenable_8h_source.html">SkFlattenable.h</a>></code></p> |
| |
| <p>Inherits <a class="el" href="class_sk_ptr_recorder.html">SkPtrRecorder</a>.</p> |
| <div class="dynheader"> |
| Collaboration diagram for SkRefCntRecorder:</div> |
| <div class="dynsection"> |
| <div class="center"><img src="class_sk_ref_cnt_recorder__coll__graph.png" border="0" usemap="#_sk_ref_cnt_recorder_coll__map" alt="Collaboration graph"/></div> |
| <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="class_sk_ref_cnt_recorder-members.html">List of all members.</a></p> |
| <table border="0" cellpadding="0" cellspacing="0"> |
| <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sk_ref_cnt_recorder.html#a44de2be565cd7ce398b6cf04727e725f">~SkRefCntRecorder</a> ()</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sk_ref_cnt_recorder.html#a4634f318aef3d246d2e913b65a2123d2">record</a> (<a class="el" href="class_sk_ref_cnt.html">SkRefCnt</a> *ref)</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sk_ref_cnt_recorder.html#a13efbf7efee944e2029ead80d05b4387">get</a> (<a class="el" href="class_sk_ref_cnt.html">SkRefCnt</a> *array[]) const </td></tr> |
| <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sk_ref_cnt_recorder.html#a0b01a89e757f0c7f895188b2ea422f2d">incPtr</a> (void *)</td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sk_ref_cnt_recorder.html#a285160f74b202927806ff8bf3bce2905">decPtr</a> (void *)</td></tr> |
| </table> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| |
| <p>Definition at line <a class="el" href="_sk_flattenable_8h_source.html#l00121">121</a> of file <a class="el" href="_sk_flattenable_8h_source.html">SkFlattenable.h</a>.</p> |
| <hr/><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a44de2be565cd7ce398b6cf04727e725f"></a><!-- doxytag: member="SkRefCntRecorder::~SkRefCntRecorder" ref="a44de2be565cd7ce398b6cf04727e725f" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual SkRefCntRecorder::~SkRefCntRecorder </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a285160f74b202927806ff8bf3bce2905"></a><!-- doxytag: member="SkRefCntRecorder::decPtr" ref="a285160f74b202927806ff8bf3bce2905" args="(void *)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void SkRefCntRecorder::decPtr </td> |
| <td>(</td> |
| <td class="paramtype">void * </td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [protected, virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Reimplemented from <a class="el" href="class_sk_ptr_recorder.html#a0f3c9b07e5d6c0df2b6eabcb8d14bb25">SkPtrRecorder</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a13efbf7efee944e2029ead80d05b4387"></a><!-- doxytag: member="SkRefCntRecorder::get" ref="a13efbf7efee944e2029ead80d05b4387" args="(SkRefCnt *array[]) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void SkRefCntRecorder::get </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="class_sk_ref_cnt.html">SkRefCnt</a> * </td> |
| <td class="paramname"> <em>array</em>[]</td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="_sk_flattenable_8h_source.html#l00134">134</a> of file <a class="el" href="_sk_flattenable_8h_source.html">SkFlattenable.h</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0b01a89e757f0c7f895188b2ea422f2d"></a><!-- doxytag: member="SkRefCntRecorder::incPtr" ref="a0b01a89e757f0c7f895188b2ea422f2d" args="(void *)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void SkRefCntRecorder::incPtr </td> |
| <td>(</td> |
| <td class="paramtype">void * </td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [protected, virtual]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Reimplemented from <a class="el" href="class_sk_ptr_recorder.html#af8c6dbe2334de363eaae5067d8f9768b">SkPtrRecorder</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4634f318aef3d246d2e913b65a2123d2"></a><!-- doxytag: member="SkRefCntRecorder::record" ref="a4634f318aef3d246d2e913b65a2123d2" args="(SkRefCnt *ref)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">uint32_t SkRefCntRecorder::record </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="class_sk_ref_cnt.html">SkRefCnt</a> * </td> |
| <td class="paramname"> <em>ref</em></td> |
| <td> ) </td> |
| <td><code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Add a refcnt object to the set and ref it if not already present, or if it is already present, do nothing. Either way, returns 0 if obj is null, or a base-1 index if obj is not null. </p> |
| |
| <p>Definition at line <a class="el" href="_sk_flattenable_8h_source.html#l00129">129</a> of file <a class="el" href="_sk_flattenable_8h_source.html">SkFlattenable.h</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>include/core/<a class="el" href="_sk_flattenable_8h_source.html">SkFlattenable.h</a></li> |
| </ul> |
| </div> |
| <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Oct 20 11:03:42 2009 for Skia by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
| </body> |
| </html> |