159 lines
8.7 KiB
HTML
159 lines
8.7 KiB
HTML
<!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<class <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>> class <A HREF="#DOC.DOCU">osg::ref_ptr</A></H2></H2><BLOCKQUOTE>Smart pointer for handling referenced counted objects</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.94.1">ref_ptr</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.94.2">ref_ptr</A></B>(<!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.94.3">ref_ptr</A></B>(const <!1><A HREF="ref_ptr.html#DOC.2.94.3">ref_ptr</A>& rp)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.94.4">~ref_ptr</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>& <B><A HREF="#DOC.2.94.5">operator = </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>& <B><A HREF="#DOC.2.94.6">operator = </A></B>(<!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.7">operator == </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.8">operator == </A></B>(const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.9">operator != </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.10">operator != </A></B>(const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.11">operator < </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.12">operator > </A></B>(const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.13">operator > </A></B>(const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>& <B><A HREF="#DOC.2.94.14">operator*</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>& <B><A HREF="#DOC.2.94.15">operator*</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <B><A HREF="#DOC.2.94.16">operator-></A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <B><A HREF="#DOC.2.94.17">operator-></A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.18">operator!</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.94.19">valid</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <B><A HREF="#DOC.2.94.20">get</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <B><A HREF="#DOC.2.94.21">get</A></B>() const
|
|
</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.94.1"></A>
|
|
<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.94.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ref_ptr(<!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="ImpostorSprite.html#DOC.2.45.24">t</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ref_ptr"></A>
|
|
<A NAME="DOC.2.94.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ref_ptr(const <!1><A HREF="ref_ptr.html#DOC.2.94.3">ref_ptr</A>& rp)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~ref_ptr"></A>
|
|
<A NAME="DOC.2.94.4"></A>
|
|
<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.94.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>& operator = (const <!1><A HREF="ref_ptr.html">ref_ptr</A>& rp)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.94.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="ref_ptr.html">ref_ptr</A>& operator = (<!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator == "></A>
|
|
<A NAME="DOC.2.94.7"></A>
|
|
<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>& rp) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator == "></A>
|
|
<A NAME="DOC.2.94.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.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator != "></A>
|
|
<A NAME="DOC.2.94.9"></A>
|
|
<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>& rp) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator != "></A>
|
|
<A NAME="DOC.2.94.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.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator < "></A>
|
|
<A NAME="DOC.2.94.11"></A>
|
|
<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>& rp) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator > "></A>
|
|
<A NAME="DOC.2.94.12"></A>
|
|
<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>& rp) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator > "></A>
|
|
<A NAME="DOC.2.94.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.107.10.2">T</A>* <!1><A HREF="Vec4.html#DOC.2.116.7">ptr</A>) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator*"></A>
|
|
<A NAME="DOC.2.94.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>& operator*()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator*"></A>
|
|
<A NAME="DOC.2.94.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>& operator*() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator->"></A>
|
|
<A NAME="DOC.2.94.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* operator->()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator->"></A>
|
|
<A NAME="DOC.2.94.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* operator->() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator!"></A>
|
|
<A NAME="DOC.2.94.18"></A>
|
|
<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.94.19"></A>
|
|
<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.94.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* get()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="get"></A>
|
|
<A NAME="DOC.2.94.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="TexGen.html#DOC.2.107.10.2">T</A>* get() const </B></TT>
|
|
<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>
|