[Kst] Re: branches/work/kst/portto4/kst/src/datasources/ascii

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Thu Jan 27 14:12:20 CET 2011


> SVN commit 1217468 by kuemmel:
> 
> Fixed column width is the third column layout
OK, now I get it!

I have thought about it and I think your approach is better indeed:
1) it makes compatibility with old files trivial (we only add an option
wrt constant width, which defaults to no assumption and should be safe
for all)
2) the corner case of files with all columns of the same constant width
and a delimiter (like the one I added to sample_data/) can probably be
optimized  just as well with delimiter=; and each column has its own
constant width. Instead of getting the width value from the dialog, we
get it from parsing the first line, but then at the beginning of each
read we only have to look it up once in the place we store it.

I'll continue thinking about it and doing some tests, but right now it
seems to work well. Leave it like that...
Have you actually done the code to store the two radio buttons already?

Nicolas


Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt

CONFIDENTIALITY NOTICE 

This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 



More information about the Kst mailing list