<html> <head> <title>class Type</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> </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 Type</h2> </div><hr> <dl> <dt>Base Classes</dt> <dd>None.</dd> </dl> <dl> <dt>Known Derived Classes</dt> <dd>None.</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>Description</dt> <dd>C++ class representing an IDL meta type. This class is used to represent a a type, i.e. a type name and its type class. Internally the type holds a C type description reference of the runtime. You can obtain a full type description of a type by calling member function getDescription(). </dd> <dt>See Also</dt> <dd><a href="../../../../t-typelib_TypeDescriptionReference.html">typelib_TypeDescriptionReference</a> <br> </dd> </dl> <dl> <dt>File</dt> <dd>Type.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> <br> <a href="Type/o.html#Type-2723">Type</a>( ) throw( );</td> <td width="50%"> Default Constructor: Type is set to void. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2724">Type</a>( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) throw( );</td> <td width="50%"> Constructor: Type is constructed by given name and type class. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2725">Type</a>( TypeClass eTypeClass, const sal_Char * pTypeName ) throw( );</td> <td width="50%"> Constructor: Type is constructed by given name and type class. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2726">Type</a>( typelib_TypeDescriptionReference * pType ) throw( );</td> <td width="50%"> Constructor: Type is (copy) constructed by given C type description reference. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2727">Type</a>( typelib_TypeDescriptionReference * pType, UnoType_NoAcquire ) throw( );</td> <td width="50%"> Constructor: Type is (copy) constructed by given C type description reference without acquiring it. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2728">Type</a>( typelib_TypeDescriptionReference * pType, __sal_NoAcquire ) throw( );</td> <td width="50%"> Constructor: Type is (copy) constructed by given C type description reference without acquiring it. </td> </tr> <tr> <td> <br> <a href="Type/o.html#Type-2729">Type</a>( const Type & rType ) throw( );</td> <td width="50%"> Copy constructor: Type is copy constructed by given type. </td> </tr> <tr> <td> <br> <a href="Type/o.html#~Type-2730">~Type</a>( ) throw( );</td> <td width="50%"> Destructor: Releases acquired C type description reference. </td> </tr> <tr> <td>Type & <br> <a href="Type/o.html#operator=-2731">operator=</a>( const Type & rType ) throw( );</td> <td width="50%"> Assignment operator: Acquires right side type and releases previously set type. </td> </tr> <tr> <td>TypeClass <br> <a href="Type/o.html#getTypeClass-2732">getTypeClass</a>( ) const throw( );</td> <td width="50%"> Gets the type class of set type. </td> </tr> <tr> <td>::rtl::OUString <br> <a href="Type/o.html#getTypeName-2733">getTypeName</a>( ) const throw( );</td> <td width="50%"> Gets the name of the set type. </td> </tr> <tr> <td>void <br> <a href="Type/o.html#getDescription-2734">getDescription</a>( typelib_TypeDescription * * ppDescr ) const throw( );</td> <td width="50%"> Obtains a full type description of set type. </td> </tr> <tr> <td>typelib_TypeDescriptionReference * <br> <a href="Type/o.html#getTypeLibType-2735">getTypeLibType</a>( ) const throw( );</td> <td width="50%"> Gets the C typelib type description reference pointer. Does not acquire the reference! </td> </tr> <tr> <td>sal_Bool <br> <a href="Type/o.html#isAssignableFrom-2736">isAssignableFrom</a>( const Type & rType ) const throw( );</td> <td width="50%"> </td> </tr> <tr> <td>sal_Bool <br> <a href="Type/o.html#equals-2737">equals</a>( const Type & rType ) const throw( );</td> <td width="50%"> Compares two types. </td> </tr> <tr> <td>sal_Bool <br> <a href="Type/o.html#operator==-2738">operator==</a>( const Type & rType ) const throw( );</td> <td width="50%"> Equality operator: Compares two types. </td> </tr> <tr> <td>sal_Bool <br> <a href="Type/o.html#operator!=-2739">operator!=</a>( const Type & rType ) const throw( );</td> <td width="50%"> Unequality operator: Compares two types. </td> </tr> </table> <hr> </dd> </dl> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2009 Sun Microsystems, Inc.</p> </div> <!-- id="adc-cppref" --> </body> </html>