[Boost-users] Serializing to .csv files

304 views
Skip to first unread message

Sean Farrow

unread,
Jun 13, 2010, 10:37:50 PM6/13/10
to boost...@lists.boost.org

Hi:

Has anyone ever written extra classes to serialize c++ datatypes to .csv files using boost.Serialization.

If so what is the best way of going about this?

Cheers

Sean

alfC

unread,
Jun 21, 2010, 6:16:13 PM6/21/10
to boost...@lists.boost.org
On Jun 13, 7:37 pm, "Sean Farrow" <sean.far...@seanfarrow.co.uk>
wrote:

> Hi:
>
> Has anyone ever written extra classes to serialize c++ datatypes to .csv
> files using boost.Serialization.

this is the closest (and still not quite) thing I found to what you
are looking for
http://code.google.com/soc/2008/boost/appinfo.html?csaid=BE3EEB904A90B03A
serialization to YAML format. I don't know more details, but it can
be useful to use as
an example on how to do .cvs serialization.

On the other hand what you can actually serialize with .cvs is limited
to list of numbers, isn't it?
(is there even a formal specification what a cvs file should be like?)

Alfredo
_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Sean Farrow

unread,
Jun 22, 2010, 3:44:47 AM6/22/10
to boost...@lists.boost.org
Hi:
There is an rfc for this:
http://www.rfc-editor.org/rfc/rfc4180.txt
maybe a csv serialization class could be written for a subsequent release?
Cheers
Sean.
Reply all
Reply to author
Forward
0 new messages