delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/03/02/11:10:48

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Sat, 02 Mar 2002 11:15:50 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: setup.exe rebase patch
In-reply-to:
<FC169E059D1A0442A04C40F86D9BA76008AADF AT itdomain003 DOT itdomain DOT net DOT au>
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
Cc: Cygwin-Apps <cygwin-apps AT sources DOT redhat DOT com>
Mail-followup-to: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
Cygwin-Apps <cygwin-apps AT sources DOT redhat DOT com>
Message-id: <20020302161550.GC1976@hp.com>
MIME-version: 1.0
User-Agent: Mutt/1.3.24i
References: <FC169E059D1A0442A04C40F86D9BA76008AADF AT itdomain003 DOT itdomain DOT net DOT au>

Rob,

On Fri, Mar 01, 2002 at 07:08:53AM +1100, Robert Collins wrote:
> Provide a Memento::ToString and Memento(String) or Memento::ToStream
> and Memento(io_stream &)  pair. Then the config file class becomes
> the caretaker, ensuring that the file goes to the right place, that io
> exceptions are handled etc., and the ToFoo and (Foo) pair contains the
> serialisation logic. The serialisation logic is tightly bound to the
> class content (as it has to be), but the persistence mechanism is not.

OK, the above seems like "cheating," but I can live with that. :,)

Thanks,
Jason

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019