Boost logo

Boost Users :

Subject: Re: [Boost-users] Newbie question: Serialization of an Array2D -->Cell** m_cells
From: Simon Ruffieux (simon.ruffieux_at_[hidden])
Date: 2010-01-13 05:16:38


Thanks for your answer

I had a look at it,
But it seems to me I would have to convert my Cell** into a
boost::multi_array in order to use what you shown me ... Ideally I would
keep my Cell** structure as it. And only be able to serialize it to save the
array in a file and be able to reload it.

Instead of converting it to a multi_array, I could also "flatten" it into a
1D array ... and serialize this 1D array but ideally I don't want to convert
it ...

If anyone has a simple example, it would be greatly appreciated ...

Sorry I am new to Boost and I try to understand how to use it correctly ...
cannot find simple tutorials that show what I need ...

"er" <erwann.rogard_at_[hidden]> wrote in message
news:hiis51$r7c$1_at_ger.gmane.org...
> Simon Ruffieux wrote:
>
>> I have read some stuff about multi array with boost but found nothing to
>> serialize my Cell** m_cells.
>
> I have not looked in much detail at your question but based on the above
> alone perhaps this could help:
>
> https://svn.boost.org/svn/boost/sandbox/statistics/detail/multi_array/
----- Original Message -----
From: "er" <erwann.rogard_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
To: <boost-users_at_[hidden]>
Sent: Tuesday, January 12, 2010 11:12 PM
Subject: Re: Newbie question: Serialization of an Array2D -->Cell** m_cells

> Simon Ruffieux wrote:
>
>> I have read some stuff about multi array with boost but found nothing to
>> serialize my Cell** m_cells.
>
> I have not looked in much detail at your question but based on the above
> alone perhaps this could help:
>
> https://svn.boost.org/svn/boost/sandbox/statistics/detail/multi_array/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net