You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Martin Veith (JIRA)" <ji...@apache.org> on 2013/08/08 15:54:47 UTC

[jira] [Assigned] (ETCH-246) Serialization of Multidimensional Arrays

     [ https://issues.apache.org/jira/browse/ETCH-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Veith reassigned ETCH-246:
---------------------------------

    Assignee: Giorgio Zoppi
    
> Serialization of Multidimensional Arrays
> ----------------------------------------
>
>                 Key: ETCH-246
>                 URL: https://issues.apache.org/jira/browse/ETCH-246
>             Project: Etch
>          Issue Type: Bug
>          Components: binding-cpp
>    Affects Versions: 1.4
>            Reporter: Aaron Frueh
>            Assignee: Giorgio Zoppi
>              Labels: EtchNativeArray
>
> Multidimensional Array with "Empty Fields" aren't read correctly / deserialized correctly 
>   e.g.:
>   EtchNativeArrayShortPtr shortArray = new EtchNativeArray<EtchShortPtr>(2,3);
>   shortArray->createArray(Pos(0), 2);
>   shortArray->createArray(Pos(1), 2);
>   shortArray->createArray(Pos(0,0), 5);,
>   shortArray->createArray(Pos(0,1), 5);
>   shortArray->createArray(Pos(1,0), 5);
>   shortArray->createArray(Pos(1,1), 5);
>   shortArray->set(Pos(0,0,0), new EtchShort(12));
>   shortArray->set(Pos(0,0,1), new EtchShort(43));
>   shortArray->set(Pos(0,0,2), new EtchShort(76));
>   shortArray->set(Pos(0,0,3), new EtchShort(4321));
>   shortArray->set(Pos(0,0,4), new EtchShort(1234));
>   shortArray->set(Pos(0,1,2), new EtchShort(3333)); //this field will be on Pos(0,1,0) after deserialization
>   /*...*/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira