Re: [Echempp-devel] getter functions in segment classes
Status: Beta
Brought to you by:
berndspeiser
|
From: Bernd S. <ber...@un...> - 2005-08-24 12:25:36
|
Kai Ludwig wrote: > Hi All, > > during the implementation of the GUI classes > for excitation functions, the question arised > how to save/load an excitation function in a > data file. > > The problem is that in general the special > type of segment within an excitation function > is not known (wee treat them with a general > DISegment pointer). > Thus, the information needed to create a segment > (initial potentials, phase shifts etc. ) is lost. > > When we save an excitation function to a > data file, the information should be stored > somewhere, in order to recreate the different > segments while loading the data file. > > Maybe, we could think about a concept within > the excitation function class that provides > detailed informations about the stored segments? > > Any ideas? > > Kai > see the Alexandrescu book! He gives some possible solutions, but probably none of them is optimal. Bernd -- ======================================================================= Bernd Speiser Institut f"ur Organische Chemie Auf der Morgenstelle 18 D-72076 T"ubingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: ber...@un... Internet: http://www.uni-tuebingen.de/speiser ======================================================================= |