$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Can boost help me organize/parse lots of binary data?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-02-21 06:34:11
On 21 February 2013 11:23, Gabriel Bizzotto <gbizzotto_at_[hidden]> wrote:
>
>> class Item
>> {
>> virtual void Decode(istream& Stream) = 0;
>> }
>
>> class Double : public Item
>> class String : public Item
>
>> class EmployeePacket
>> {
>> std::vector<Item*> Items;
> ...
>
>
> Maybe boost::any will do better here ?
And for parsing, Boost.Spirit.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net