OpenSceneGraph/doc/doc++/osg/ref_ptr.html

159 lines
8.7 KiB
HTML
Raw Normal View History

2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>template<class T> class osg::ref_ptr</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>template&lt;class <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&gt; class <A HREF="#DOC.DOCU">osg::ref_ptr</A></H2></H2><BLOCKQUOTE>Smart pointer for handling referenced counted objects</BLOCKQUOTE>
2001-09-20 05:19:47 +08:00
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.95.1">ref_ptr</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.95.2">ref_ptr</A></B>(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>)
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.95.3">ref_ptr</A></B>(const <!1><A HREF="ref_ptr.html#DOC.2.95.3">ref_ptr</A>&amp; rp)
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.95.4">~ref_ptr</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; <B><A HREF="#DOC.2.95.5">operator = </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp)
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; <B><A HREF="#DOC.2.95.6">operator = </A></B>(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>)
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.7">operator == </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.8">operator == </A></B>(const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.9">operator != </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.10">operator != </A></B>(const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.11">operator < </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.12">operator > </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.13">operator > </A></B>(const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; <B><A HREF="#DOC.2.95.14">operator*</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; <B><A HREF="#DOC.2.95.15">operator*</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.95.16">operator-></A></B>()
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.95.17">operator-></A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.18">operator!</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.95.19">valid</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.95.20">get</A></B>()
2002-02-09 18:54:18 +08:00
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <B><A HREF="#DOC.2.95.21">get</A></B>() const
2001-09-20 05:19:47 +08:00
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Smart pointer for handling referenced counted objects</BLOCKQUOTE>
<DL>
<A NAME="ref_ptr"></A>
<A NAME="DOC.2.95.1"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ref_ptr()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="ref_ptr"></A>
<A NAME="DOC.2.95.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ref_ptr(<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>)</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="ref_ptr"></A>
<A NAME="DOC.2.95.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ref_ptr(const <!1><A HREF="ref_ptr.html#DOC.2.95.3">ref_ptr</A>&amp; rp)</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="~ref_ptr"></A>
<A NAME="DOC.2.95.4"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~ref_ptr()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.95.5"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; operator = (const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
<A NAME="DOC.2.95.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; operator = (<!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>)</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.95.7"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator == (const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator == "></A>
<A NAME="DOC.2.95.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator == (const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.95.9"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator != (const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator != "></A>
<A NAME="DOC.2.95.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator != (const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator < "></A>
<A NAME="DOC.2.95.11"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator < (const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
2002-02-09 18:54:18 +08:00
<A NAME="operator > "></A>
<A NAME="DOC.2.95.12"></A>
2002-02-09 18:54:18 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator > (const <!1><A HREF="ref_ptr.html">ref_ptr</A>&amp; rp) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="operator > "></A>
<A NAME="DOC.2.95.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator > (const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.117.7">ptr</A>) const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator*"></A>
<A NAME="DOC.2.95.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; operator*()</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator*"></A>
<A NAME="DOC.2.95.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>&amp; operator*() const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator->"></A>
<A NAME="DOC.2.95.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* operator->()</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator->"></A>
<A NAME="DOC.2.95.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* operator->() const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="operator!"></A>
<A NAME="DOC.2.95.18"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator!() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="valid"></A>
<A NAME="DOC.2.95.19"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool valid() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="get"></A>
<A NAME="DOC.2.95.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* get()</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="get"></A>
<A NAME="DOC.2.95.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.108.10.2">T</A>* get() const </B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>