15 #include <vsg/core/Inherit.h>
16 #include <vsg/core/ref_ptr.h>
18 #include <vsg/io/FileSystem.h>
34 explicit External(
const PathObjects& entries);
37 template<
class O,
class V>
38 static void t_traverse(O&
object, V& visitor)
40 for (
auto itr =
object.entries.begin(); itr !=
object.entries.end(); ++itr)
42 if (itr->second) itr->second->accept(visitor);
46 void traverse(
Visitor& visitor)
override { t_traverse(*
this, visitor); }
47 void traverse(
ConstVisitor& visitor)
const override { t_traverse(*
this, visitor); }
50 void read(
Input& input)
override;
51 void write(
Output& output)
const override;
Definition: ConstVisitor.h:147
Definition: External.h:31
ref_ptr< Options > options
custom reader/writer options
Definition: External.h:54
PathObjects entries
list of path/object pairs
Definition: External.h:57
RecordTraversal traverses a scene graph doing view frustum culling and invoking state/commands to rec...
Definition: RecordTraversal.h:61
Definition: Visitor.h:147