[Ace-users] [tao-users] Marshaling non primitves from any

Michael.Wiederkehr at richard-wolf.com Michael.Wiederkehr at richard-wolf.com
Fri Dec 7 08:57:37 CST 2007


ACE VERSION: 5.6.1

HOST MACHINE and OPERATING SYSTEM:
        Core2 Duo, Suse Linux 10.3

DOES THE PROBLEM AFFECT:
        EXECUTION

SYNOPSIS:
        Marschaling non primitives (structs, sequences) from an Any 
delivers only the tk_alias

DESCRIPTION:
        We use a simple interface like:
 
        interface Var
        {
                any get(void);
        }

        With the any we transfer primitives and complex data. Extraction 
and insertation works well.
 
        We want to use the TAO marshaling for saving the object valus to 
disk.
 
        So we did following:

        TAO_OutputCDR strm;

        strm << Any;
 
        That works well for all primitives. For sequences only 8 byte 
written to the strm beginning with tk_alias.

        How can we access the TAO marshaling for our requirements? 

Regards

Michael Wiederkehr
Dipl.-Ing.

Entwicklung Bildverarbeitung und Endoskopie (EB)
Development Image Processing and Endoscopy

-------------------------------------------------------------------------------------------

Richard Wolf GmbH
Pforzheimer Straße 32
75438 Knittlingen
Germany

Tel.:       +49 (0)7043 35-1320
Fax:       +49 (0)7043 35-1316


E-mail:   michael.wiederkehr at richard-wolf.com
Web:       http://www.richard-wolf.com

-------------------------------------------------------------------------------------------

+++
Richard Wolf GmbH, Pforzheimerstr.32, 75438 Knittlingen
Managing Directors: Alfons Notheis, Siegfried Karst
Trade Register: Mannheim HRB 510031
+++
Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
+++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20071207/01241798/attachment.html 


More information about the Ace-users mailing list