20 #ifndef INCLUDED_CPPU_UNOTYPE_HXX
21 #define INCLUDED_CPPU_UNOTYPE_HXX
25 #if defined LIBO_INTERNAL_ONLY
26 #include <type_traits>
33 namespace com {
namespace sun {
namespace star {
namespace uno {
41 namespace rtl {
class OUString; }
68 struct UnoUnsignedShortType;
105 inline ::com::sun::star::uno::Type
const &
115 namespace cppu {
namespace detail {
117 inline ::com::sun::star::uno::Type
const &
122 inline ::com::sun::star::uno::Type
const &
127 inline ::com::sun::star::uno::Type
const &
132 inline ::com::sun::star::uno::Type
const &
137 inline ::com::sun::star::uno::Type
const &
142 inline ::com::sun::star::uno::Type
const &
144 SAL_UNUSED_PARAMETER ::cppu::UnoUnsignedShortType
const *)
150 inline ::com::sun::star::uno::Type
const &
155 inline ::com::sun::star::uno::Type
const &
161 inline ::com::sun::star::uno::Type
const &
166 inline ::com::sun::star::uno::Type
const &
172 inline ::com::sun::star::uno::Type
const &
177 inline ::com::sun::star::uno::Type
const &
182 inline ::com::sun::star::uno::Type
const &
187 inline ::com::sun::star::uno::Type
const &
192 inline ::com::sun::star::uno::Type
const &
198 inline ::com::sun::star::uno::Type
const &
204 template<
typename T > inline ::com::sun::star::uno::Type
const &
206 SAL_UNUSED_PARAMETER ::cppu::UnoSequenceType< T >
const *)
217 template<
typename T > inline ::com::sun::star::uno::Type
const &
219 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Sequence< T >
const *)
226 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Exception
const *)
232 SAL_UNUSED_PARAMETER ::com::sun::star::uno::XInterface
const *)
237 template<
typename T > inline ::com::sun::star::uno::Type
const &
239 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< T >
const *)
241 return ::cppu::UnoType< T >::get();
268 template<
typename T >
class UnoType {
270 static inline ::com::sun::star::uno::Type
const &
get() {
271 using namespace ::cppu::detail;
272 #if defined LIBO_INTERNAL_ONLY
273 typedef typename std::remove_reference<T>::type T1;
283 ~
UnoType() SAL_DELETED_FUNCTION;
284 void operator =(
UnoType &) SAL_DELETED_FUNCTION;
287 template<> css::uno::Type inline const &
UnoType<
void>::
get() {
301 template<
typename T > inline ::com::sun::star::uno::Type
const &
303 return ::cppu::UnoType< T >::get();
316 inline ::com::sun::star::uno::Type
const &
318 return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get();
331 template<
typename T > inline ::com::sun::star::uno::Type
const &
348 template<
typename T > inline ::com::sun::star::uno::Type
const &
350 return ::cppu::UnoType< T >::get();
364 inline ::com::sun::star::uno::Type
const &
366 return ::cppu::UnoType< ::cppu::UnoCharType >::get();
380 template<
typename T > inline ::com::sun::star::uno::Type
const &