24#include <com/sun/star/uno/Any.hxx>
25#include <com/sun/star/uno/RuntimeException.hpp>
26#include <com/sun/star/uno/Type.hxx>
27#include <com/sun/star/uno/TypeClass.hpp>
29#include <rtl/ustring.hxx>
58 throw css::uno::RuntimeException(
"this cannot happen");
94 css::uno::Sequence< css::uno::Sequence< sal_Int8 > > >::get();
97 throw css::uno::RuntimeException(
"this cannot happen");
102 switch (
value.getValueType().getTypeClass()) {
103 case css::uno::TypeClass_VOID:
105 case css::uno::TypeClass_BOOLEAN:
107 case css::uno::TypeClass_BYTE:
109 case css::uno::TypeClass_SHORT:
111 case css::uno::TypeClass_UNSIGNED_SHORT:
113 case css::uno::TypeClass_LONG:
115 case css::uno::TypeClass_UNSIGNED_LONG:
117 case css::uno::TypeClass_HYPER:
119 case css::uno::TypeClass_UNSIGNED_HYPER:
121 case css::uno::TypeClass_FLOAT:
122 case css::uno::TypeClass_DOUBLE:
124 case css::uno::TypeClass_STRING:
126 case css::uno::TypeClass_SEQUENCE:
128 OUString
name(
value.getValueType().getTypeName());
129 if (
name ==
"[]byte" ) {
131 }
else if (
name ==
"[]boolean")
134 }
else if (
name ==
"[]short" )
137 }
else if (
name ==
"[]long" )
140 }
else if (
name ==
"[]hyper" )
143 }
else if (
name ==
"[]double")
146 }
else if (
name ==
"[]string")
149 }
else if (
name ==
"[][]byte")
css::uno::Type const & get()
bool isListType(Type type)
css::uno::Type const & mapType(Type type)
Type getDynamicType(css::uno::Any const &value)
Type elementType(Type type)