Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdRxModelHierarchyTreeBase::createDatabaseHierarchyTree Method (const OdRxObject*, const bool, const bool, const bool)
Syntax
C++
virtual OdRxModelTreeBaseNodePtr createDatabaseHierarchyTree(const OdRxObject* pDb, const bool create_properties_cache = true, const bool class_dependent_hierarchy = false, const bool class_dependent_property = false);

Creates a hierarchical tree for the database. 

 

Parameters
Description
pDb
[in] Pointer to the source database object.
create_properties_cache
[in] Flag to create cache of properties. The default value is true.
class_dependent_hierarchy
[in] Flag to optimize the creation of a hierarchical tree. It can only be set to true if the properties of database objects with a hierarchical attribute are statically dependent on the object type. The default value is false.
class_dependent_property
[in] Flag to optimize cache creation. It can be set to true only if all properties of database objects are statically dependent on the object type. The default value is false.

Smart pointer to the root node of the hierarchical tree.

Copyright © 2002-2022. Open Design Alliance All rights reserved.