Re: [guppi-list] Re: text import glitch



> > My Visual C++ 6.0 compiled version accepts this just fine...
> > What is the problem?
> 
> It parses it incorrectly, but the exact error is at work. It must be some
> kind of egcs artifact so I'll look into it myself. Thanks for checking on
> MS C++.

I just rechecked, and everything is parsed correctly, with all significant
digits.

> Yes, I didn't change any of the parsing code. (I hopefully didn't break
> anything and it should all be source compatible... that was the intent
> anyway. :-)

There could be another explanation, because I'm using an updated version
of the code that I have not checked in yet...  I'll see if I can merge
it now.

> I felt that I needed them to determine what kinds of DataSets were in 
> the vector<DataSet*> returned from AsciiImport. Did you have a different
> mechanism in mind?

Oh.  I already implemented a string-version of this type-info in my own
tree.  Each DataSet returns a string that describes itself, and this
can be used for identification.

Also, I implemented a "clone" method that can clone a dataset.  I found
that I needed this to operate on the DataSets in an abstract way.  (Un-
fortunately, we can't make the DataSets assignable in the STL sense,
so we just have to provide the functionality in a different way.)

I'll try to commit this stuff today, but I might not make it.
In that case, it won't be until next week, sorry.  Easter holidays.

Greets,

Asger



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]