Home
last modified time | relevance | path

Searched refs:TypeDescription (Results 1 – 25 of 95) sorted by relevance

1234

/trunk/main/jurt/java/jurt/src/test/java/com/sun/star/lib/uno/protocols/urp/
H A DMarshaling_Test.java25 import com.sun.star.lib.uno.typedesc.TypeDescription;
131 TypeDescription dataTypes[] = new TypeDescription[] { in test()
132 TypeDescription.getTypeDescription(com.sun.star.uno.RuntimeException.class), in test()
133 TypeDescription.getTypeDescription(com.sun.star.uno.Exception.class), in test()
134 TypeDescription.getTypeDescription(Boolean.class), in test()
135 TypeDescription.getTypeDescription(Byte.class), in test()
136 TypeDescription.getTypeDescription(Character.class), in test()
137 TypeDescription.getTypeDescription(Double.class), in test()
138 TypeDescription.getTypeDescription(TestEnum.class), in test()
139 TypeDescription.getTypeDescription(Float.class), in test()
[all …]
H A DProtocol_Test.java28 import com.sun.star.lib.uno.typedesc.TypeDescription;
70 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCall()
84 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWithInParameter()
101 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWithOutParameter()
122 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWithInOutParameter()
146 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWithResult()
165 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWhichRaisesException()
185 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWithIn_Out_InOut_Paramters_and_result()
217 oId, TypeDescription.getTypeDescription(TestXInterface.class), in testCallWhichReturnsAny()
227 ((TypeDescription.getTypeDescription(((Any) result).getType()). in testCallWhichReturnsAny()
[all …]
/trunk/main/cppu/inc/typelib/
H A Dtypedescription.hxx48 class TypeDescription class
73 inline TypeDescription( typelib_TypeDescription * pTypeDescr = 0 ) SAL_THROW( () );
78 inline TypeDescription( typelib_TypeDescriptionReference * pTypeDescrRef ) SAL_THROW( () );
83 inline TypeDescription( const ::com::sun::star::uno::Type & rType ) SAL_THROW( () );
88 inline TypeDescription( const TypeDescription & rDescr ) SAL_THROW( () );
93 inline TypeDescription( rtl_uString * pTypeName ) SAL_THROW( () );
98 inline TypeDescription( const ::rtl::OUString & rTypeName ) SAL_THROW( () );
101 inline ~TypeDescription() SAL_THROW( () );
108 …inline TypeDescription & SAL_CALL operator = ( typelib_TypeDescription * pTypeDescr ) SAL_THROW( (…
114 … inline TypeDescription & SAL_CALL operator =( const TypeDescription & rTypeDescr ) SAL_THROW( () ) in operator =()
[all …]
/trunk/main/ridljar/java/ridl/src/main/java/com/sun/star/lib/uno/typedesc/
H A DTypeDescription.java48 public final class TypeDescription implements ITypeDescription { class
49 public static TypeDescription getTypeDescription(String typeName) in getTypeDescription()
63 public static TypeDescription getTypeDescription(Class zClass) { in getTypeDescription()
67 public static TypeDescription getTypeDescription(Type type) in getTypeDescription()
71 TypeDescription desc = (TypeDescription) type.getTypeDescription(); in getTypeDescription()
79 public static TypeDescription getTypeDescription(TypeClass typeClass) { in getTypeDescription()
228 private static TypeDescription getDefinitely(Type type) { in getDefinitely()
236 private static TypeDescription get(Type type) throws ClassNotFoundException in get()
239 TypeDescription desc = cache.get(typeName); in get()
247 private static TypeDescription create(Type type) in create()
[all …]
/trunk/main/binaryurp/source/
H A Dwriter.cxx60 css::uno::TypeDescription const & theType, in Item()
61 css::uno::TypeDescription const & theMember, in Item()
70 css::uno::TypeDescription const & theMember, bool theSetter, in Item()
88 css::uno::TypeDescription const & type, in sendDirectRequest()
89 css::uno::TypeDescription const & member, in sendDirectRequest()
99 rtl::ByteSequence const & tid, css::uno::TypeDescription const & member, in sendDirectReply()
109 css::uno::TypeDescription const & type, in queueRequest()
110 css::uno::TypeDescription const & member, in queueRequest()
121 com::sun::star::uno::TypeDescription const & member, bool setter, in queueReply()
176 css::uno::TypeDescription( in run()
[all …]
H A Dwriter.hxx70 com::sun::star::uno::TypeDescription const & type,
71 com::sun::star::uno::TypeDescription const & member,
78 com::sun::star::uno::TypeDescription const & member,
84 com::sun::star::uno::TypeDescription const & type,
85 com::sun::star::uno::TypeDescription const & member,
90 com::sun::star::uno::TypeDescription const & member, bool setter,
108 com::sun::star::uno::TypeDescription const & type,
109 com::sun::star::uno::TypeDescription const & member,
115 com::sun::star::uno::TypeDescription const & member, bool setter,
127 com::sun::star::uno::TypeDescription const & theType,
[all …]
H A Dunmarshal.cxx73 css::uno::TypeDescription const & type, in copyMemberValues()
87 css::uno::TypeDescription(&ctd->pBaseTypeDescription->aBase), i, in copyMemberValues()
94 i++->getValue(css::uno::TypeDescription(ctd->ppTypeRefs[j]))), in copyMemberValues()
132 css::uno::TypeDescription Unmarshal::readType() { in readType()
159 return css::uno::TypeDescription( in readType()
180 css::uno::TypeDescription t(readString()); in readType()
191 for (css::uno::TypeDescription t2(t); in readType()
195 t2 = css::uno::TypeDescription( in readType()
267 css::uno::TypeDescription( in readTid()
270 css::uno::TypeDescription( in readTid()
[all …]
H A Dbridge.hxx65 class TypeDescription;
110 com::sun::star::uno::TypeDescription const & type);
114 com::sun::star::uno::TypeDescription const & type);
118 com::sun::star::uno::TypeDescription const & type);
122 com::sun::star::uno::TypeDescription const & type);
140 com::sun::star::uno::TypeDescription const & member, bool setter,
168 com::sun::star::uno::TypeDescription const & type) const;
210 com::sun::star::uno::TypeDescription const & type);
214 com::sun::star::uno::TypeDescription const & type,
215 com::sun::star::uno::TypeDescription const & member,
[all …]
H A Dbridge.cxx303 css::uno::TypeDescription(cppu::UnoType< css::uno::Any >::get()).get(), in mapCppToBinaryAny()
327 rtl::OUString const & oid, css::uno::TypeDescription const & type) in registerIncomingInterface()
362 css::uno::TypeDescription const & type) in registerOutgoingInterface()
411 rtl::OUString const & oid, css::uno::TypeDescription const & type) in findStub()
433 rtl::OUString const & oid, css::uno::TypeDescription const & type) in releaseStub()
545 rtl::OUString const & oid, css::uno::TypeDescription const & member, in makeCall()
556 att.getTid(), oid, css::uno::TypeDescription(), member, in makeCall()
587 css::uno::TypeDescription(cppu::UnoType< sal_Int32 >::get()), in sendRequestChangeRequest()
598 css::uno::TypeDescription(cppu::UnoType< sal_Int32 >::get()))); in handleRequestChangeReply()
668 css::uno::TypeDescription( in handleRequestChangeRequest()
[all …]
H A Dincomingrequest.cxx56 css::uno::TypeDescription const & type, sal_uInt16 functionId, in IncomingRequest()
57 bool synchronous, css::uno::TypeDescription const & member, bool setter, in IncomingRequest()
136 css::uno::TypeDescription( in execute_throw()
171 (css::uno::TypeDescription( in execute_throw()
178 css::uno::TypeDescription( in execute_throw()
190 css::uno::TypeDescription retType; in execute_throw()
196 css::uno::TypeDescription t( in execute_throw()
216 retType = css::uno::TypeDescription(mtd->pReturnTypeRef); in execute_throw()
223 css::uno::TypeDescription( in execute_throw()
228 css::uno::TypeDescription( in execute_throw()
[all …]
H A Dreader.cxx195 css::uno::TypeDescription type; in readMessage()
253 css::uno::TypeDescription memberTd(itd->ppAllMembers[memberId]); in readMessage()
261 css::uno::TypeDescription t( in readMessage()
296 css::uno::TypeDescription( in readMessage()
312 css::uno::TypeDescription( in readMessage()
349 css::uno::TypeDescription( in readMessage()
352 css::uno::TypeDescription( in readMessage()
356 && (css::uno::TypeDescription( in readMessage()
361 css::uno::TypeDescription( in readMessage()
419 css::uno::TypeDescription(cppu::UnoType< css::uno::Any >::get())); in readReplyMessage()
[all …]
H A Dmarshal.cxx128 css::uno::TypeDescription const & type, BinaryAny const & value) in writeValue()
139 css::uno::TypeDescription const & value) in writeType()
190 css::uno::TypeDescription( in writeTid()
198 css::uno::TypeDescription const & type, void const * value) in writeValue()
235 css::uno::TypeDescription( in writeValue()
242 css::uno::TypeDescription t(p->pType); in writeValue()
251 css::uno::TypeDescription ctd( in writeValue()
286 css::uno::TypeDescription const & type, void const * aggregateValue) in writeMemberValues()
299 css::uno::TypeDescription(&ctd->pBaseTypeDescription->aBase), in writeMemberValues()
304 buffer, css::uno::TypeDescription(ctd->ppTypeRefs[i]), in writeMemberValues()
H A Dproxy.cxx73 css::uno::TypeDescription const & type): in Proxy()
86 css::uno::TypeDescription Proxy::getType() const { in getType()
127 (css::uno::TypeDescription(cppu::UnoType< css::uno::Any >::get()). in do_dispatch()
158 css::uno::TypeDescription( in do_dispatch_throw()
175 css::uno::TypeDescription(mtd->pParams[i].pTypeRef), in do_dispatch_throw()
189 css::uno::TypeDescription( in do_dispatch_throw()
201 css::uno::TypeDescription t( in do_dispatch_throw()
215 css::uno::TypeDescription t(mtd->pReturnTypeRef); in do_dispatch_throw()
222 css::uno::TypeDescription pt(mtd->pParams[j].pTypeRef); in do_dispatch_throw()
H A Dlessoperators.hxx30 class TypeDescription;
36 bool operator <(TypeDescription const & left, TypeDescription const & right);
38 struct TypeDescHash { sal_Int32 operator()( const TypeDescription&) const; };
40 struct TypeDescEqual { bool operator()( const TypeDescription&, const TypeDescription&) const; };
H A Dunmarshal.hxx43 class TypeDescription;
66 com::sun::star::uno::TypeDescription readType();
72 BinaryAny readValue(com::sun::star::uno::TypeDescription const & type);
87 BinaryAny readSequence(com::sun::star::uno::TypeDescription const & type);
90 com::sun::star::uno::TypeDescription const & type,
H A Dbinaryany.cxx45 BinaryAny::BinaryAny(css::uno::TypeDescription const & type, void * value) in BinaryAny()
79 css::uno::TypeDescription BinaryAny::getType() const throw () { in getType()
80 return css::uno::TypeDescription(data_.pType); in getType()
83 void * BinaryAny::getValue(css::uno::TypeDescription const & type) const in getValue()
89 type.equals(css::uno::TypeDescription(data_.pType)))); in getValue()
H A Dlessoperators.cxx39 bool operator<( const TypeDescription& rLeft, const TypeDescription& rRight) { in operator <()
51 bool TypeDescEqual::operator()( const TypeDescription& rLeft, const TypeDescription& rRight) const in operator ()()
64 sal_Int32 TypeDescHash::operator()( const TypeDescription& rTD) const in operator ()()
H A Dbinaryany.hxx32 class TypeDescription;
41 BinaryAny(com::sun::star::uno::TypeDescription const & type, void * value)
56 com::sun::star::uno::TypeDescription getType() const throw ();
58 void * getValue(com::sun::star::uno::TypeDescription const & type) const
H A Dmarshal.hxx62 com::sun::star::uno::TypeDescription const & type,
67 com::sun::star::uno::TypeDescription const & value);
78 com::sun::star::uno::TypeDescription const & type, void const * value);
82 com::sun::star::uno::TypeDescription const & type,
H A Dincomingrequest.hxx52 com::sun::star::uno::TypeDescription const & type,
54 com::sun::star::uno::TypeDescription const & member, bool setter,
70 com::sun::star::uno::TypeDescription type_;
73 com::sun::star::uno::TypeDescription member_;
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/protocols/urp/
H A DUnmarshal.java26 import com.sun.star.lib.uno.typedesc.TypeDescription;
46 typeCache = new TypeDescription[cacheSize]; in Unmarshal()
108 public TypeDescription readType() { in readType()
111 if (TypeDescription.isTypeClassSimple(typeClass)) { in readType()
112 return TypeDescription.getTypeDescription(typeClass); in readType()
115 TypeDescription type = null; in readType()
118 type = TypeDescription.getTypeDescription( in readType()
135 public Object readValue(TypeDescription type) { in readValue()
288 TypeDescription type = readType(); in readAnyValue()
335 TypeDescription ctype = (TypeDescription) in readAnyValue()
[all …]
H A DMarshal.java26 import com.sun.star.lib.uno.typedesc.TypeDescription;
95 public void writeType(TypeDescription type) { in writeType()
97 if (TypeDescription.isTypeClassSimple(typeClass)) { in writeType()
110 public void writeValue(TypeDescription type, Object value) { in writeValue()
263 TypeDescription.getTypeDescription( in writeTypeValue()
271 TypeDescription type; in writeAnyValue()
273 type = TypeDescription.getTypeDescription(XInterface.class); in writeAnyValue()
277 type = TypeDescription.getTypeDescription(any.getType()); in writeAnyValue()
287 type = TypeDescription.getTypeDescription(value.getClass()); in writeAnyValue()
293 private void writeSequenceValue(TypeDescription type, Object value) { in writeSequenceValue()
[all …]
H A Durp.java34 import com.sun.star.lib.uno.typedesc.TypeDescription;
118 String oid, TypeDescription type, String function, ThreadId tid, in writeRequest()
149 TypeDescription resultType; in writeReply()
154 resultType = TypeDescription.getTypeDescription(TypeClass.ANY); in writeReply()
158 resultType = (TypeDescription) in writeReply()
178 (TypeDescription) argTypes[i].getComponentType(), in writeReply()
194 TypeDescription.getTypeDescription(XProtocolProperties.class), in sendRequestChange()
322 TypeDescription.getTypeDescription( in handleInternalMessage()
418 (TypeDescription) outSig[i].getComponentType())); in readRequest()
421 args[i] = unmarshal.readValue((TypeDescription) inSig[i]); in readRequest()
[all …]
/trunk/main/ridljar/test/com/sun/star/lib/uno/typedesc/
H A DTypeDescription_Test.java43 ITypeDescription voidTD = TypeDescription.getTypeDescription( in test()
45 ITypeDescription stringTD = TypeDescription.getTypeDescription( in test()
47 ITypeDescription typeTD = TypeDescription.getTypeDescription( in test()
49 ITypeDescription anyTD = TypeDescription.getTypeDescription(Any.class); in test()
50 ITypeDescription interfaceTD = TypeDescription.getTypeDescription( in test()
115 TypeDescription.getTypeDescription("byte")); in test()
117 TypeDescription.getTypeDescription("string")); in test()
119 TypeDescription.getTypeDescription( in test()
123 TypeDescription.getTypeDescription( in test()
126 TypeDescription.getTypeDescription( in test()
[all …]
/trunk/main/cppu/source/helper/purpenv/
H A Dhelper_purpenv_Proxy.cxx269 static uno::TypeDescription getAcquireMethod(void) in getAcquireMethod()
276 uno::TypeDescription acquire( in getAcquireMethod()
284 static uno::TypeDescription getReleaseMethod(void) in getReleaseMethod()
291 uno::TypeDescription release( in getReleaseMethod()
299 static uno::TypeDescription s_acquireMethod(getAcquireMethod());
300 static uno::TypeDescription s_releaseMethod(getReleaseMethod());

1234