$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] How to iterate nested 'structs' in property tree
From: Bill Moo (cppsysdev_at_[hidden])
Date: 2011-08-15 12:19:13
Hello List,
I have an .info file with the following structure and as I am unable to use
BOOST_FOREACH to iterate these I was wondering how it was done?
Items
{
 Item
 {
  ID   999
  Description "Text to describe the item"
  Stuff1  1
  Stuff2  0
  Stuff3  7
  ItemSettings
  {
   Setting1 9
   Setting2 12
   Setting3 0.1
  }
  SubItems
  {
   SubItem
   {
    ID  0
    Status 0
   }
   SubItem
   {
    ID  1
    Status 0
   }
  }
 }
 Item
 {
  ; Structure as above
 }
 ; And so on...
}
-- Bill