23 #ifndef INCLUDED_COM_SUN_STAR_UNO_TYPE_HXX
24 #define INCLUDED_COM_SUN_STAR_UNO_TYPE_HXX
51 inline Type::Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName )
57 inline Type::Type( TypeClass eTypeClass,
const char * pTypeName )
80 : _pType( rType._pType )
87 return ::rtl::OUString( _pType->pTypeName );
96 #if defined LIBO_INTERNAL_ONLY
99 std::swap(_pType, rType._pType);
108 #if defined LIBO_INTERNAL_ONLY
115 template<
typename charT,
typename traits> std::basic_ostream<charT, traits> &
116 operator <<(std::basic_ostream<charT, traits> & stream, Type
const & type)
117 {
return stream << type.getTypeName(); }
127 return ::cppu::UnoType< ::com::sun::star::uno::Type >::get();
132 return ::cppu::UnoType<void>::get();
136 return ::cppu::UnoType<void>::get();
141 return ::cppu::UnoType< bool >::get();
145 return ::cppu::UnoType< bool >::get();
149 return ::cppu::UnoType< bool >::get();
155 return ::cppu::UnoType< bool >::get();
160 return ::cppu::UnoType< ::cppu::UnoCharType >::get();
164 return ::cppu::UnoType< ::cppu::UnoCharType >::get();
169 return ::cppu::UnoType< ::sal_Int8 >::get();
174 return ::cppu::UnoType< ::rtl::OUString >::get();
179 return ::cppu::UnoType< ::sal_Int16 >::get();
184 return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get();
189 return ::cppu::UnoType< ::sal_Int32 >::get();
194 return ::cppu::UnoType< ::sal_uInt32 >::get();
199 return ::cppu::UnoType< ::sal_Int64 >::get();
204 return ::cppu::UnoType< ::sal_uInt64 >::get();
209 return ::cppu::UnoType< float >::get();
214 return ::cppu::UnoType< double >::get();
217 template<
typename T >
220 return ::cppu::UnoType< T >::get();
226 return ::cppu::UnoType< ::cppu::UnoCharType >::get();