Lines Matching refs:xNewTD

146     Reference<reflection::XEnumTypeDescription> const & xNewTD,  in checkEnum()  argument
149 if (xNewTD->getEnumNames() != xExistingTD->getEnumNames()) in checkEnum()
150 typeError( OUSTR("ENUM names don't match!"), xNewTD->getName() ); in checkEnum()
151 if (xNewTD->getEnumValues() != xExistingTD->getEnumValues()) in checkEnum()
152 typeError( OUSTR("ENUM values don't match!"), xNewTD->getName() ); in checkEnum()
156 Reference<reflection::XCompoundTypeDescription> const & xNewTD, in checkStruct() argument
159 check( xNewTD->getBaseType(), xExistingTD->getBaseType(), in checkStruct()
160 xNewTD->getName() + OUSTR(", base type") ); in checkStruct()
161 checkSeq( xNewTD->getMemberTypes(), xExistingTD->getMemberTypes(), in checkStruct()
162 xNewTD->getName() + OUSTR(", member types") ); in checkStruct()
164 if (xNewTD->getMemberNames() != xExistingTD->getMemberNames()) in checkStruct()
165 typeError( OUSTR("Different member names!"), xNewTD->getName() ); in checkStruct()
167 if (xNewTD->getTypeClass() == TypeClass_STRUCT) in checkStruct()
170 xNewTD, UNO_QUERY ); in checkStruct()
178 "polymorphic STRUCT!"), xNewTD->getName() ); in checkStruct()
181 xNewTD->getName() + OUSTR(", argument types") ); in checkStruct()
185 "with non-polymorphic!"), xNewTD->getName() ); in checkStruct()
190 Reference<reflection::XInterfaceTypeDescription2> const & xNewTD, in checkInterface() argument
193 checkSeq( xNewTD->getBaseTypes(), xExistingTD->getBaseTypes(), in checkInterface()
194 xNewTD->getName() + OUSTR(", base types") ); in checkInterface()
195 checkSeq(xNewTD->getOptionalBaseTypes(),xExistingTD->getOptionalBaseTypes(), in checkInterface()
196 xNewTD->getName() + OUSTR(", optional base types") ); in checkInterface()
197 checkSeq( xNewTD->getMembers(), xExistingTD->getMembers(), in checkInterface()
198 xNewTD->getName() + OUSTR(", members") ); in checkInterface()
257 Reference<reflection::XInterfaceMethodTypeDescription> const & xNewTD, in checkMethod() argument
260 check( xNewTD->getReturnType(), xExistingTD->getReturnType(), in checkMethod()
261 xNewTD->getName() ); in checkMethod()
263 if (xNewTD->isOneway() != xExistingTD->isOneway()) in checkMethod()
265 xNewTD->getName() ); in checkMethod()
267 checkParameters( xNewTD->getParameters(), xExistingTD->getParameters(), in checkMethod()
268 xNewTD->getName() ); in checkMethod()
270 checkSeq( xNewTD->getExceptions(), xExistingTD->getExceptions(), in checkMethod()
271 xNewTD->getName() + OUSTR(", declared exceptions") ); in checkMethod()
275 Reference<reflection::XInterfaceAttributeTypeDescription2> const & xNewTD, in checkAttribute() argument
279 if (xNewTD->isReadOnly() != xExistingTD->isReadOnly()) in checkAttribute()
280 typeError( OUSTR("ReadOnly attribute differs!"), xNewTD->getName() ); in checkAttribute()
282 check( xNewTD->getType(), xExistingTD->getType(), in checkAttribute()
283 xNewTD->getName() + OUSTR(", attribute type") ); in checkAttribute()
285 if (xNewTD->isBound() != xExistingTD->isBound()) in checkAttribute()
286 typeError( OUSTR("Bound attribute differs!"), xNewTD->getName() ); in checkAttribute()
288 checkSeq( xNewTD->getGetExceptions(), xExistingTD->getGetExceptions(), in checkAttribute()
289 xNewTD->getName() + OUSTR(", getter exceptions") ); in checkAttribute()
290 checkSeq( xNewTD->getSetExceptions(), xExistingTD->getSetExceptions(), in checkAttribute()
291 xNewTD->getName() + OUSTR(", setter exceptions") ); in checkAttribute()
295 Reference<reflection::XPropertyTypeDescription> const & xNewTD, in checkProperty() argument
298 if (xNewTD->getPropertyFlags() != xExistingTD->getPropertyFlags()) in checkProperty()
304 xNewTD->getPropertyFlags() ) ); in checkProperty()
309 typeError( buf.makeStringAndClear(), xNewTD->getName() ); in checkProperty()
312 check( xNewTD->getPropertyTypeDescription(), in checkProperty()
314 xNewTD->getName() ); in checkProperty()
318 Reference<reflection::XSingletonTypeDescription2> const & xNewTD, in checkSingleton() argument
321 sal_Bool ifaceBased = xNewTD->isInterfaceBased(); in checkSingleton()
325 xNewTD->getName() ); in checkSingleton()
327 check( xNewTD->getInterface(), xExistingTD->getInterface(), in checkSingleton()
328 xNewTD->getName() ); in checkSingleton()
330 check( xNewTD->getService().get(), xExistingTD->getService().get(), in checkSingleton()
331 xNewTD->getName() ); in checkSingleton()
335 Reference<reflection::XServiceTypeDescription2> const & xNewTD, in checkService() argument
338 sal_Bool singleIfaceBased = xNewTD->isSingleInterfaceBased(); in checkService()
341 xNewTD->getName() ); in checkService()
344 check( xNewTD->getInterface(), xExistingTD->getInterface(), in checkService()
345 xNewTD->getName() ); in checkService()
347 newCtors( xNewTD->getConstructors() ); in checkService()
353 xNewTD->getName() ); in checkService()
374 typeError( buf.makeStringAndClear(), xNewTD->getName() ); in checkService()
378 buf.append( xNewTD->getName() ); in checkService()
391 checkSeq( xNewTD->getMandatoryServices(), in checkService()
393 xNewTD->getName() + OUSTR(", mandatory services") ); in checkService()
394 checkSeq( xNewTD->getOptionalServices(), in checkService()
396 xNewTD->getName() + OUSTR(", optional services"), in checkService()
398 checkSeq( xNewTD->getMandatoryInterfaces(), in checkService()
400 xNewTD->getName() + OUSTR(", mandatory interfaces") ); in checkService()
401 checkSeq( xNewTD->getOptionalInterfaces(), in checkService()
403 xNewTD->getName() + OUSTR(", optional interfaces"), in checkService()
407 newProperties( xNewTD->getProperties() ); in checkService()
411 xNewTD->getName() + OUSTR(", properties"), in checkService()
434 void check( Reference<reflection::XTypeDescription> const & xNewTD, in check() argument
438 if (xNewTD == xExistingTD) in check()
440 if (xNewTD->getName() != xExistingTD->getName()) in check()
444 buf.append( xNewTD->getName() ); in check()
451 TypeClass tc = xNewTD->getTypeClass(); in check()
455 buf.append( xNewTD->getName() ); in check()
469 xNewTD, UNO_QUERY_THROW ), in check()
477 xNewTD, UNO_QUERY_THROW )->getReferencedType(), in check()
485 xNewTD, UNO_QUERY_THROW ), in check()
492 xNewTD, UNO_QUERY_THROW ), in check()
499 xNewTD, UNO_QUERY_THROW ), in check()
506 xNewTD, UNO_QUERY_THROW ), in check()
513 xNewTD, UNO_QUERY_THROW ), in check()
520 xNewTD, UNO_QUERY_THROW ), in check()
527 xNewTD, UNO_QUERY_THROW )->getConstantValue() != in check()
530 typeError( OUSTR("Different constant value!"), xNewTD->getName() ); in check()
534 xNewTD, UNO_QUERY_THROW )->getConstants(), in check()
537 xNewTD->getName() ); in check()
542 xNewTD, UNO_QUERY_THROW ), in check()