|
Boost Users : |
From: Aaron Griffin (aaronmgriffin_at_[hidden])
Date: 2005-09-29 12:34:12
On 9/29/05, Jeff Flinn <TriumphSprint2000_at_[hidden]> wrote:
> Aah, but spirit already does that:
>
> parse
> ( lRtmData.Begin()
> , lRtmData.End ()
> , *( ( str_p("Altia*AltiaScene*background:") >> '#' >>
> hex_p[assign(mBackGroundColor)] )
> | ( str_p("Altia*AltiaScene*width:" ) >>
> uint_p[assign(mWindowSize.cx )] )
> | ( str_p("Altia*AltiaScene*height:" ) >>
> uint_p[assign(mWindowSize.cy )] )
> | anychar_p
> )
> , space_p
> );
Well, hot damn! Didn't realise that worked.... but then again, it
makes total sense...
PS Looks alot like a XrmDb 8)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net