Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: cppu ::

template< typename T >

class UnoType


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO YES
Summary
Get the com::sun::star::uno::Type instance representing a certain UNO type.
Description
For each C++ type representing a UNO type, the corresponding instantiation of this template has a public static member function get(). (The template is specialized for C++ templates representing polymorphic struct type templates of UNO. In those cases, it does not work to instantiate UnoType with a C++ type that is derived from a C++ type that represents a UNO type, but does not itself represent a UNO type. In all other cases, UnoType even works for such C++ types that are unambiguously derived from one C++ type that represents a UNO type.) In addition to those C++ types that are mappings of UNO types (except for sal_uInt16 and sal_Unicode, see below), the following C++ types are appropriate as template arguments: cppu::UnoVoidType, bool, cppu::UnoUnsignedShortType, cppu::UnoCharType, cppu::UnoSequenceType with any appropriate template argument (the latter three to unambiguously specify UNO types, as the UNO types UNSIGNED SHORT and CHAR map to the same C++ type), and com::sun::star::uno::Reference with any appropriate template argument.
Since
UDK 3.2.2
File
unotype.hxx

Public Members

Static Methods

static const ::com::sun::star::uno::Type &
get( );

Private Members

Methods


UnoType( UnoType & );

~UnoType( );
void
operator=( UnoType & );

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.