API Guides > ConceptRT 3.x

Namespace ContainerUtils details. More...

Detailed Description

Namespace ContainerUtils details.

Functions

template<class ElementType >
void RetrieveChildrenOfType (IReferenceList< ElementType > &list, IVisitableContainer *root, bool visitFirstLevelOnly=false)
 Retrive children of a given type. More...
 

Function Documentation

void RetrieveChildrenOfType ( IReferenceList< ElementType > &  list,
IVisitableContainer root,
bool  visitFirstLevelOnly = false 
)

Retrive children of a given type.

Template Parameters
ElementTypeType of element to retrieve.
Parameters
list[out] The output list where found element are added. The list is not cleared by the visitor.
rootContainer (root) to visit.
visitFirstLevelOnly(optional) Visit first level only. Default value is false. If true, the visitor will search recurvively into sublevels of Visitable Container.

Deterministic but filtering take a long calculation time.

Version
3.5 or greater feature.