Back Midas Rome Roody Rootana
  Rome Analyzer Framework  Not logged in ELOG logo
Entry  22 Feb 2006, Giovanni Signorelli, Suggestion, Text database suggestion 
    Reply  22 Feb 2006, Stefan Ritt, Suggestion, Text database suggestion 
    Reply  22 Feb 2006, Ryu Sawada, Suggestion, Text database suggestion 
Message ID: 116     Entry time: 22 Feb 2006     Reply to this: 117   118
Author: Giovanni Signorelli 
Topic: Suggestion 
Subject: Text database suggestion 
This is maybe a bug report that happens reading long lines in a text database.
I am currently handling large data base files for linear fit analysis, basically I have to handle a 828 x 828 
matrix. Writing in the text db 828 lines containing each 828 comma separated values with a single 
new-line at the end does not work, maybe the read buffer is too large. 
So I propose the following modification to ROMETextDataBase.cpp:
Suppose you have a field named "coefficients" which is declared "array", say of four numbers,  in the 
xml file. In the text data base it appears as:

<coefficients>
one,two,three,four
one,two,three,four
one,two,three,four
...
</coefficients>

One should be able to write the same code as follows:

<coefficients>
one,
two,
three,
four                  <----- note there is NO COMMA here!
one,
two,
three,
four
one,two,three,four
...
</coefficients>

or

<coefficients>
one,two,
three,four
one,two,three,
four
one,
two,three,four
...
</coefficients>

In this way I can write a single column of (comma separated) values. Can somebody (Ryu?) take care of 
this (I hope simple) modification?
Thanks.

 
ELOG V3.1.4-2e1708b5