ImporterTraverser (struct)

The ImporterTraverser is a utility for traversing an imported hierarchy. Certain objects within an import process might not unfold the complete hierarchy, this includes the ImporterGroup as well as the ImporterInstance. The ImporterTraverser can be used to fully unfold the hierachy.

ImporterTraverser ImporterTraverser ImporterTraverser

Members

Ref<ImporterObject>[] objects  
SInt32[String] pathToIndex  

Methods

  ImporterTraverser ( in ImporterObject objects[] )
  ImporterTraverser ( in ImporterTraverser other )
  ImporterTraverser ( in Ref<ImporterObject> objects[] )
  ImporterTraverser ()
ImporterTraverser clone ? ()
Ref<ImporterObject>[] traverse ? ()
  traverseObject ? ( in Ref<ImporterObject> current, io Ref<ImporterObject> results[] )

Methods in detail

ImporterTraverser ( in ImporterObject objects[] )


ImporterTraverser ( in ImporterTraverser other )

copy constructor


ImporterTraverser ( in Ref<ImporterObject> objects[] )


ImporterTraverser ()

default constructor


ImporterTraverser ImporterTraverser.clone? ()

clone method


Ref<ImporterObject>[] ImporterTraverser.traverse? ()

Returns a fully traversed list of all objects in the hierarchy based on an input list. This will unfold ImporterGroup and ImporterInstance objects.


ImporterTraverser.traverseObject? ( in Ref<ImporterObject> current, io Ref<ImporterObject> results[] )