STL.NET序列化 [英] STL.NET serialization

查看:78
本文介绍了STL.NET序列化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我之前关于clr / safe和STL.NET的帖子的后续内容

http://groups.google.com/group/micro...70a89dbc67c332


现在更具体的问题是将当前的MFC序列化

迁移到STL序列化?


如何使用STL进行最佳的血清化?


STL似乎没有直接支持基本STL库中的序列化概念?


鉴于我已经设法使用STL进行序列化,那么这将是与STL.NET兼容的

吗?


如果我设法''更加精确保存''一组矢量,地图等

int,长串等

使用STL。


这是一个流要加载到STL.NET等效类中?

也是流媒体和序列化的概念将是可验证的吗?


相对于这个主题的任何好的链接都会很大赞赏?

提前致谢。

This is a follow on from my previous thread about clr/safe and STL.NET

http://groups.google.com/group/micro...70a89dbc67c332

A more specific problem now is migrating the current MFC serialization
onto STL serialization?

How best to serilize using STL?

STL does not seem to directly support the concept of serialization in
the basic STL library?

Given i have managed to serialise using STL, is this then going to be
compatible with STL.NET?

More precisly if i have managed to ''save'' a set of vectors, maps etc of
int, long string etc
using STL.

Is this stream going to ''load'' into STL.NET equivalent classes?

Also is streaming and the concept of serialization going to be
verifiable?

Any good links relative to this subject would be greatly appreciated?
Thanks in advance.

推荐答案

Herby写道:
这是我之前关于clr / safe和STL.NET的帖子的后续内容

http://groups.google.com/group/micro...70a89dbc67c332

如何使用STL进行最佳的serilize?


C ++标准库不包含对

all的所有序列化支持。您可以使用 www.boost.org 中的boost :: serialization。

STL似乎不直接支持基本STL库中的序列化概念?


正确。

鉴于我已经设法使用STL进行序列化,那么它是否会与STL.NET兼容?


不太可能,但这取决于你是怎么做的。

如果我设法保存一组矢量,地图等,那就更准确了

int,long string等
使用STL。

这个流是否加载到STL.NET等效类中?


只有你可以说。

也是流媒体和序列化的概念可以验证吗?


只有你可以说,因为你实现了序列化。

任何与这个主题相关的好链接都会受到高度赞赏吗?
This is a follow on from my previous thread about clr/safe and STL.NET

http://groups.google.com/group/micro...70a89dbc67c332

A more specific problem now is migrating the current MFC serialization
onto STL serialization?

How best to serilize using STL?
The C++ standard library does not include any support for serialization at
all. You might be able to use boost::serialization from www.boost.org.
STL does not seem to directly support the concept of serialization in
the basic STL library?
Correct.
Given i have managed to serialise using STL, is this then going to be
compatible with STL.NET?
Unlikely, but it depends on how you did it.
More precisly if i have managed to ''save'' a set of vectors, maps etc
of
int, long string etc
using STL.

Is this stream going to ''load'' into STL.NET equivalent classes?
Only you can say.
Also is streaming and the concept of serialization going to be
verifiable?
Only you can say, since you implemented the serialization.
Any good links relative to this subject would be greatly appreciated?




我还没有看到任何。如果你得到他们就发布''em。


-cd



I haven''t seen any. Post ''em if you get ''em.

-cd


干杯卡尔。

更具体的问题。


如果我使用标准C ++库中的IOStream类,那么这些将在STL中提供。 NET?


如果我使用Boost进行序列化,这将是自然的选择(不想重新发明轮子)与STL.NET兼容



Cheers Carl.

More specific question.

If i use the IOStream classes present in the standard C++ library are
these going to be available in STL.NET?

If i use Boost to do my serialisation, which would be the natural
choice( dont want to re-invent the wheel ) is this going to be
compatible with STL.NET ?


Herby写道:
干杯卡尔。

更具体的问题。

如果我使用标准C ++库中的IOStream类,这些将在STL.NET中提供吗?


我不知道。

如果我使用Boost进行序列化,这将是自然的选择(不想要重新发明轮子)这将与STL.NET兼容吗?
Cheers Carl.

More specific question.

If i use the IOStream classes present in the standard C++ library are
these going to be available in STL.NET?
I don''t know.

If i use Boost to do my serialisation, which would be the natural
choice( dont want to re-invent the wheel ) is this going to be
compatible with STL.NET ?




非常不可能。


-cd



Very unlikely.

-cd


这篇关于STL.NET序列化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆