Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost qi parser
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2014-03-02 07:58:57


Igore,

On 02/03/14 1:41 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
>> }
>>
>

Where mapdef is :: typedef
std::vector<std::pair<std::string,std::string>>mapDef;

I am looking to store key vs values.. means [ignoring \n, \t and spaces]
Name-³new²
Values- 1,2,3
input_values-1, 2, 3; 5, 5, 6;10, 12, 3

Can you please let me know what is the best way to write the parser?

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