[Lemon-user] [Fwd: Re: GraphReader]
Alpár Jüttner
alpar at cs.elte.hu
Sat Jan 19 22:47:24 CET 2008
-------- Forwarded Message --------
From: Balazs Dezso <deba at inf.elte.hu>
To: Alpár Jüttner <alpar at cs.elte.hu>
Subject: Re: [Lemon-user] GraphReader
Date: Fri, 18 Jan 2008 17:20:49 +0100
Hi
> What is the reason for that?
The reader does not cache the string representation of the map value, because
the map reader reads the value directly from the input stream. More general
reason, the graph IO design is based on the next rule, just the map knows
where is the end of its input. By example, the value may contains space, or
it should be well formed expression.
By example, valid values for some readers:
Hello\ world!
<xml> AB <tag> C </tag> D </xml>
x + y / 82
separator;
"\"Hello\" \"World\""
Best, Balazs
On Friday 18 January 2008 16.50.25 you wrote:
> Hi,
>
> > It is not possible, but an exception is thrown when you try to do this.
>
> What is the reason for that?
>
> > The
> > only solution is using maps such ForkWriteMap...
> >
> > Best, Balazs
> >
> > On Thursday 17 January 2008 11.07.26 Alpár Jüttner wrote:
> > > Hi,
> > >
> > > Is it possible to read a column of an .lfg file into two different maps
> > > (of different types, such as NodeMap<double> and NodeMap<std::string>)
> > > at the same time?
> > >
> > > Regards,
> > > Alpar
> > >
> > >
> > > _______________________________________________
> > > Lemon-user mailing list
> > > Lemon-user at lemon.cs.elte.hu
> > > http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
> >
> > _______________________________________________
> > Lemon-user mailing list
> > Lemon-user at lemon.cs.elte.hu
> > http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
More information about the Lemon-user
mailing list