Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Aug 26, 2011, at 8:02 AM, Tor Lillqvist wrote:
2) for MSVC, I'm rather more disarmed; made some incomplete guesses.

?queryInterface@OPropertySetHelper@cppu@@W3AA?AVAny@uno@star@sun@com@@ABVType@4567@@Z;
?queryInterface@OPropertySetHelper@cppu@@W7AA?AVAny@uno@star@sun@com@@ABVType@4567@@Z;

The "undname" command that comes with MSVC can be used to demangle MSVC++ identifiers; these two 
are:

[thunk]:public: virtual class com::sun::star::uno::Any __cdecl 
cppu::OPropertySetHelper::queryInterface`adjustor{4}' (class com::sun::star::uno::Type const &)
[thunk]:public: virtual class com::sun::star::uno::Any __cdecl 
cppu::OPropertySetHelper::queryInterface`adjustor{8}' (class com::sun::star::uno::Type const &)

but what that means I have no idea;)

For a class with multiple base classes, there is generally demand to adjust the this-pointer when 
calling a virtual function of the derived class from within a function of one of the base classes.  
Thats what these thunks are for.

-Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.