|
Boost Users : |
Subject: [Boost-users] boost serialization skip a node
From: ujoimro (ujoimro_at_[hidden])
Date: 2012-04-10 05:52:55
Hello,
I am working on a config file format, which is a collection of several xml
"config file" classes. I would like to save them in a single file like this:
oarchive << NVP(filters);
oarchive << NVP(processor);
oarchive << NVP(segmentation);
However, it does make sense te use the "processor" class without the filters
or the segmentation. Is there a simple way to skip some nodes in
Boost.Serialization.XML? Or to refer to nodes by their name?
iarchive >> NVP(processor);
Thank You for Your help,
LM
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