API Reference > Other Classes > OdLinkedArray Template
OdLinkedArray Template
OdLinkedArray
Syntax
C++
template <class T, class A = OdObjectsAllocator<T> > class OdLinkedArray;

OdLinkedArray.h

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.
 

 

 
Name 
Description 
 
Constructor
 
 
Name 
Description 
 
This is the overview for the append method overload. 
 
This is the overview for the begin method overload. 
 
Removes all elements from this Array object. 
 
Returns true if and only if this Array object contains ths specified value.
 
 
Returns true if and only if this Array is empty. 
 
end 
This is the overview for the end method overload. 
 
find 
This is the overview for the find method overload. 
 
This is the overview for the first method overload. 
 
Removes excessive elements in internal buffer of this Array object. 
 
Inserts an element into this Array object.
 
 
last 
This is the overview for the last method overload. 
 
Removes the specified element from this Array object.
 
 
Removes the last element in this Array object. 
 
Specifies the logical length for this Array object.  
 
size 
Returns the logical length of this Array object. 
Name 
Description 
 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.