Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost qi parser
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2014-03-02 09:51:40


Igore,

On 02/03/14 6:52 pm, "Igor R" <boost.lists_at_[hidden]> wrote:

>>>> {
>>>> name = "new"
>>>> sub_name = "SUBTITLE"
>>>> values = { 1, 2, 3; }
>>>> input_values = { 1, 2, 3;
>>>> 5, 5, 6 ;
>>>> 10, 12, 3}
>>>> type = input
>>>> intval = 100
>>>> }
>>>>
>>>
>>
>>
>>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users

Equal is the separator and the string left is key and the right is value.
[key and value both storing as strings]
push_back(name,²new²)
push_back(sub_name,²SUBTITLE²)

push_back(values,"1,2,3²)

push_back(input_values,²1,2,3;5,5,6;10,12,3²)

Regards,
UJ


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