]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/activex/wxie/doxydoc/classwxAutoOleInterface.html
A clarification
[wxWidgets.git] / wxPython / contrib / activex / wxie / doxydoc / classwxAutoOleInterface.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title> TemplatewxAutoOleInterface&lt; I &gt; class Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3-rc3 -->
7 <center>
8 <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9 <hr><h1>wxAutoOleInterface&lt; I &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>&gt;</code>
10 <p>
11 <hr><a name="_details"></a><h2>Detailed Description</h2>
12 <h3>template&lt;class I&gt;<br>
13 class wxAutoOleInterface&lt; I &gt;</h3>
14
15 Template class for smart interface handling.
16 <p>
17 <ul>
18 <li>Automatically dereferences ole interfaces</li><li>Smart Copy Semantics</li><li>Can Create Interfaces</li><li>Can query for other interfaces </li></ul>
19
20 <p>
21
22 <p>
23 Definition at line <a class="el" href="wxactivex_8h-source.html#l00045">45</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
24 <tr><td></td></tr>
25 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
26 <tr><td nowrap align=right valign=top><a name="a0" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
27 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a> (I *pInterface=NULL)</td></tr>
28 <tr><td>&nbsp;</td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
29 <tr><td nowrap align=right valign=top><a name="a1" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
30 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a1">wxAutoOleInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
31 <tr><td>&nbsp;</td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
32 <tr><td nowrap align=right valign=top><a name="a2" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
33 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a2">wxAutoOleInterface</a> (REFIID riid, IDispatch *pDispatch)</td></tr>
34 <tr><td>&nbsp;</td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
35 <tr><td nowrap align=right valign=top><a name="a3" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
36 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a3">wxAutoOleInterface</a> (REFCLSID clsid, REFIID riid)</td></tr>
37 <tr><td>&nbsp;</td><td><font size=-1><em>Creates an Interface.</em></font><br><br></td></tr>
38 <tr><td nowrap align=right valign=top><a name="a4" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
39 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a4">wxAutoOleInterface</a> (const wxAutoOleInterface&lt; I &gt; &amp;ti)</td></tr>
40 <tr><td>&nbsp;</td><td><font size=-1><em>copy constructor</em></font><br><br></td></tr>
41 <tr><td nowrap align=right valign=top><a name="a5" doxytag="wxAutoOleInterface::operator="></a>
42 wxAutoOleInterface&lt; I &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a5">operator=</a> (const wxAutoOleInterface&lt; I &gt; &amp;ti)</td></tr>
43 <tr><td>&nbsp;</td><td><font size=-1><em>assignment operator</em></font><br><br></td></tr>
44 <tr><td nowrap align=right valign=top><a name="a6" doxytag="wxAutoOleInterface::operator="></a>
45 wxAutoOleInterface&lt; I &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a6">operator=</a> (I *&amp;ti)</td></tr>
46 <tr><td>&nbsp;</td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
47 <tr><td nowrap align=right valign=top><a name="a7" doxytag="wxAutoOleInterface::~wxAutoOleInterface"></a>
48 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a7">~wxAutoOleInterface</a> ()</td></tr>
49 <tr><td>&nbsp;</td><td><font size=-1><em>invokes <a class="el" href="classwxAutoOleInterface.html#a8">Free()</a></em></font><br><br></td></tr>
50 <tr><td nowrap align=right valign=top><a name="a8" doxytag="wxAutoOleInterface::Free"></a>
51 void&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a8">Free</a> ()</td></tr>
52 <tr><td>&nbsp;</td><td><font size=-1><em>Releases interface (i.e decrements refCount).</em></font><br><br></td></tr>
53 <tr><td nowrap align=right valign=top><a name="a9" doxytag="wxAutoOleInterface::QueryInterface"></a>
54 HRESULT&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a9">QueryInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
55 <tr><td>&nbsp;</td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
56 <tr><td nowrap align=right valign=top><a name="a10" doxytag="wxAutoOleInterface::CreateInstance"></a>
57 HRESULT&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a10">CreateInstance</a> (REFCLSID clsid, REFIID riid)</td></tr>
58 <tr><td>&nbsp;</td><td><font size=-1><em>Create a Interface instance.</em></font><br><br></td></tr>
59 <tr><td nowrap align=right valign=top><a name="a11" doxytag="wxAutoOleInterface::operator I *"></a>
60 &nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a11">operator I *</a> () const</td></tr>
61 <tr><td>&nbsp;</td><td><font size=-1><em>returns the interface pointer</em></font><br><br></td></tr>
62 <tr><td nowrap align=right valign=top><a name="a12" doxytag="wxAutoOleInterface::operator->"></a>
63 I *&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a12">operator-&gt;</a> ()</td></tr>
64 <tr><td>&nbsp;</td><td><font size=-1><em>returns the dereferenced interface pointer</em></font><br><br></td></tr>
65 <tr><td nowrap align=right valign=top><a name="a13" doxytag="wxAutoOleInterface::GetRef"></a>
66 I **&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a13">GetRef</a> ()</td></tr>
67 <tr><td>&nbsp;</td><td><font size=-1><em>returns a pointer to the interface pointer</em></font><br><br></td></tr>
68 <tr><td nowrap align=right valign=top><a name="a14" doxytag="wxAutoOleInterface::Ok"></a>
69 bool&nbsp;</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a14">Ok</a> () const</td></tr>
70 <tr><td>&nbsp;</td><td><font size=-1><em>returns true if we have a valid interface pointer</em></font><br><br></td></tr>
71 </table>
72 <hr>The documentation for this class was generated from the following file:<ul>
73 <li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
74 <hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
75 <a href="http://www.doxygen.org/index.html">
76 <img src="doxygen.png" alt="doxygen" align="middle" border=0
77 width=110 height=53></a>1.3-rc3 </small></address>
78 </body>
79 </html>