Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdLinkedArray<class T, class A = OdObjectsAllocator<T> > Template
Syntax
C++
template <class T, class A = OdObjectsAllocator<T> > class OdLinkedArray;

This template class implements dynamic Array objects with memory pre-allocation by pages of provided size and tree-like links to neighboring elements within the ODA Platform.

Methods are provided to access Array elements via both array indices and array pointers (iterators). 

Some definitions are in order: 

  1. Logical Length (or Size) -- The number of entries in the array. Initially zero.
  2. Page Size -- The number of elements of sequntually allocated memory buffers (pages) to store elements while Array automatically grows.
 

 

OdLinkedArray@classT@classA=OdObjectsAllocator_T_

File: OdLinkedArray.h 

Module: API Reference 

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