re: [Flightgear-devel] copying properties

2002-12-23 Thread David Megginson
Jim Wilson writes: Is there a way to copy a block of properties (ie an equivelent to cp -ax dir1 dir2)? IIRC this was discussed at one time, and I'm wondering if it has been implemented yet. See simgear/misc/props_io: /** * Copy properties from one node to another. */ bool

Re: [Flightgear-devel] copying properties

2002-12-23 Thread David Megginson
Norman Vine writes: Jim Wilson writes: Is there a way to copy a block of properties #include simgear/misc/props_io.hxx copyProperties (const SGPropertyNode *in, SGPropertyNode *out) But AFAIK this requires that the 'out' nodes exist i.e. this copies but does not construct

Re: [Flightgear-devel] copying properties

2002-12-22 Thread Norman Vine
Jim Wilson writes: Is there a way to copy a block of properties #include simgear/misc/props_io.hxx copyProperties (const SGPropertyNode *in, SGPropertyNode *out) But AFAIK this requires that the 'out' nodes exist i.e. this copies but does not construct the nodes I think the easiest way to