<html> <head> <title>class BaseReference</title> <link rel="stylesheet" type="text/css" href="../../../../../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../../../../../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainself"> Class </td> <td class="navimain"> <a href="../../../../../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../../../../../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"> <tr> <td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td> <td> <font size="-2">CLASSES</font> | <font size="-2">STRUCTS</font> | <font size="-2">UNIONS</font> | <font size="-2">ENUMS</font> | <font size="-2">TYPEDEFS</font> | <a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a> | <font size="-2">STATIC METHODS</font> | <font size="-2">DATA</font> | <font size="-2">STATIC DATA</font></td> </tr> <tr> <td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td> <td> <font size="-2">CLASSES</font> | <font size="-2">STRUCTS</font> | <font size="-2">UNIONS</font> | <font size="-2">ENUMS</font> | <font size="-2">TYPEDEFS</font> | <font size="-2">METHODS</font> | <a href="#prot_static_ops"><font size="-2"><b>STATIC METHODS</b></font></a> | <a href="#prot_vars"><font size="-2"><b>DATA</b></font></a> | <font size="-2">STATIC DATA</font></td> </tr> </table> <hr> <a href="../../../../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="../../../index.html" alt="namespace"><font size="+1"><b>com</b></font></a><font size="+1"> :: </font><a href="../../index.html" alt="namespace"><font size="+1"><b>sun</b></font></a><font size="+1"> :: </font><a href="../index.html" alt="namespace"><font size="+1"><b>star</b></font></a><font size="+1"> :: </font><a href="index.html" alt="namespace"><font size="+1"><b>uno</b></font></a><font size="+1"> :: </font><div class="title"><h2>class BaseReference</h2> </div><hr> <dl> <dt>Base Classes</dt> <dd>None.</dd> </dl> <dl> <dt>Known Derived Classes</dt> <dd><a href="c-Reference.html">Reference</a><br> </dd> </dl> <br> <table class="flag-table" border="1" cellspacing="0"> <tr> <td width="25%" class="flagname">virtual</td> <td width="25%" class="flagname">abstract</td> <td width="25%" class="flagname">interface</td> <td width="25%" class="flagname">template</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <dl> <dt>Summary</dt> <dd>This base class serves as a base class for all template reference classes and has been introduced due to compiler problems with templated operators ==, =!. </dd> </dl> <dl> <dt>File</dt> <dd>Reference.h</dd> </dl> <hr> <dl> <dt class="subtitle"><a name="publ_"><h3>Public Members</h3> </a></dt> <dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%"> <tr class="subtitle"> <td colspan="2"><h4>Methods</h4> </td> </tr> <tr> <td>XInterface * <br> <a href="BaseReference/o.html#get-2665">get</a>( ) const throw( );</td> <td width="50%"> Gets interface pointer. This call does not acquire the interface. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#is-2666">is</a>( ) const throw( );</td> <td width="50%"> Checks if reference is null. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#operator==-2667">operator==</a>( XInterface * pInterface ) const throw( );</td> <td width="50%"> Equality operator: compares two interfaces Checks if both references are null or refer to the same object. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#operator!=-2668">operator!=</a>( XInterface * pInterface ) const throw( );</td> <td width="50%"> Unequality operator: compares two interfaces Checks if both references are null or refer to the same object. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#operator==-2669">operator==</a>( const BaseReference & rRef ) const throw( );</td> <td width="50%"> Equality operator: compares two interfaces Checks if both references are null or refer to the same object. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#operator!=-2670">operator!=</a>( const BaseReference & rRef ) const throw( );</td> <td width="50%"> Unequality operator: compares two interfaces Checks if both references are null or refer to the same object. </td> </tr> <tr> <td>sal_Bool <br> <a href="BaseReference/o.html#operator<-2671">operator<</a>( const BaseReference & rRef ) const throw( );</td> <td width="50%"> Needed by some STL containers. </td> </tr> </table> <hr> </dd> </dl> <dl> <dt class="subtitle"><a name="prot_"><h3>Protected Members</h3> </a></dt> <dd><a name="prot_static_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%"> <tr class="subtitle"> <td colspan="2"><h4>Static Methods</h4> </td> </tr> <tr> <td>static XInterface * <br> <a href="BaseReference/o.html#iquery-2663">iquery</a>( XInterface * pInterface, const Type & rType ) throw( RuntimeException );</td> <td width="50%"> Queries given interface for type rType. </td> </tr> <tr> <td>static XInterface * <br> <a href="BaseReference/o.html#iquery_throw-2664">iquery_throw</a>( XInterface * pInterface, const Type & rType ) throw( RuntimeException );</td> <td width="50%"> Queries given interface for type rType. Throws a RuntimeException if the demanded interface cannot be queried. </td> </tr> </table> <hr> <a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%"> <tr class="subtitle"> <td colspan="2"><h4>Data</h4> </td> </tr> <tr bgcolor="white"> <td>XInterface * <a href="BaseReference/d.html#_pInterface"><strong>_pInterface;</strong></a></td> <td>the interface pointer </td> </tr> </table> <hr> </dd> </dl> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-cppref" --> </body> </html>