serialize a class

Discussion in 'C++' started by tiffini, May 4, 2007.

  1. tiffini

    tiffini Guest

    Hi,

    I have a bunch of classes that pointers, STL vectors, maps etc in them. Is there an easy way to serialize them? When I was working with MFC 4.0 there was a very powerful serialize class that you could derive from and do this. However in STL I haven't seen anything. Any ideas?

    Tiff
     
    tiffini, May 4, 2007
    #1
    1. Advertising

  2. tiffini

    Ian Collins Guest

    tiffini wrote:
    > Hi,
    >
    > I have a bunch of classes that pointers, STL vectors, maps etc in them.
    > Is there an easy way to serialize them? When I was working with MFC 4.0
    > there was a very powerful serialize class that you could derive from and
    > do this. However in STL I haven't seen anything. Any ideas?
    >

    This gets asked about once a week, check back through the archives.

    --
    Ian Collins.
     
    Ian Collins, May 4, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonah Olsson

    Can I make a class from XML? Serialize?

    Jonah Olsson, Aug 8, 2003, in forum: ASP .Net
    Replies:
    12
    Views:
    508
  2. Craig Buchanan

    serialize class to the viewstate

    Craig Buchanan, Jan 27, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,193
  3. Gordz
    Replies:
    3
    Views:
    3,959
    John Oakes
    Jun 7, 2004
  4. =?Utf-8?B?RWFybCBUZWlncm9i?=

    How to NOT serialize a Property of a Class

    =?Utf-8?B?RWFybCBUZWlncm9i?=, Oct 4, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    17,699
    =?Utf-8?B?RWFybCBUZWlncm9i?=
    Oct 5, 2004
  5. Ben Amada

    Can viewstate serialize this class?

    Ben Amada, Oct 16, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    13,263
    john_teague
    Oct 30, 2005
Loading...

Share This Page