Menu

Persistence Problems

Help
Anonymous
2000-10-23
2000-11-06
  • Anonymous

    Anonymous - 2000-10-23

    I have been using the CommonC++ libraries extensively in the current project I am working on (mainly keydata, and TCPStream. Currently I am attempting to implement persistence with not much success. I have come across a couple of problems so far, firstly in the DECLARE_PERSISTENCE macro, for the definition of the overload to the << operator :
    friend Engine & operator<<(Engine& ar, ClassType const *&ob);
    should there be a '&' before ob? (The DECLARE and IMPLEMENT macros implement the << operator differently)

    Secondly, is there any simple examples available that show how to use persistence (just the basics)?

    Regards
    Mark

     
    • David Sugar

      David Sugar - 2000-11-06

      There is a "simple" example that uses the persistance engine to process a HTML document!  But unfortunately I did not have any involvement in writing the persistance/serialization engine so it may be awhile before I can check thru this problem.

      David

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.