API Reference > Classes > OdBmCDA3DViewCache Class
OdBmCDA3DViewCache Class
OdBmCDA3DViewCache
Syntax
C++
class OdBmCDA3DViewCache;

BmCDA3DViewCache.h

Cache class - singleton object, provides hierarchy tree necessary dynamic nodes creation and caching. Also provides module options: active view filter and clear node names options.

 
Name 
Description 
 
Active 3D View ID to filter elements list, choosed by user or set by default. 
 
Array of DynamicNode OdRxClass pointers. 
 
Naming option, choosed by user or set false by default. Enables/disables node names addition by quantity of child elements, or elements DB handles 
 
Saved cached database pointer. Used to monitor cached and properties requests database compliance. 
 
Saved cached 3D View ID. Used to avoid recache call to the same view. 
 
Singleton OdBmCDA3DViewCache instance. 
 
Array of dynamic database categories nodes pointers. Array contains array of database childs - categories. Each category contains an array of child nodes pointers - families, types or elements. 
 
Array of dynamic intermediate nodes pointers. Array contains array of intermediate nodes - families or types. Each node contains an array of child nodes pointers - families, types or elements. 
 
ViewsNode OdRxClass pointer. 
 
Dynamic database views node pointer. Node contains array of pointers to database 3D views. 
 
Name 
Description 
 
Returns a singleton instance of a cache object. 
 
Clears internal cache arrays. 
 
Returns a reference to an active 3DView id. 
 
Returns a pointer to a cached database. 
 
Returns a reference to a cached 3DView id. 
 
Returns a reference to a Categories nodes array. 
 
Returns a ClearNames option value. 
 
Returns a reference to an array of DynamicNode OdRxClass pointers. 
 
Returns a reference to a Heirarchy nodes array. 
 
Returns a reference to a ViewsNode OdRxClass pointer. 
 
Returns a reference to a Views node pointer. 
 
Creates a hierarchy tree database cache.  
 
Saves a cached database pointer.  
 
Sets a ClearNames option value.  
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.