API Reference > Other Classes > OdArrayMemAlloc Template
OdArrayMemAlloc Template
OdArrayMemAlloc
Syntax
C++
template <class T, class A, class Mm> class OdArrayMemAlloc;

OdArrayMemAlloc.h

This template class implements dynamic Array objects within DWGdirect.

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. Physical Length -- The maximum Logical Length of the array before it automatically grows.
  3. Grow Length -- The number of entries by which the Physical Length will grow as required.
 

Db 

 

 
Name 
Description 
 
This is ~OdArrayMemAlloc, a member of class OdArrayMemAlloc. 
 
This is the overview for the OdArrayMemAlloc constructor overload. 
 
Name 
Description 
 
This is the overview for the append method overload. 
 
This is the overview for the asArrayPtr method overload. 
 
Assigns the specified range of elements to this Array object.
 
 
at 
This is the overview for the at method overload. 
 
This is the overview for the begin method overload. 
 
Returns the physical length of this Array object. 
 
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. 
 
This is the overview for the erase method overload. 
 
find 
Returns true if and only if this Array object contains ths specified value.
 
 
This is the overview for the first method overload. 
 
Returns the element of this Array object at the specified position.  
 
Returns the data buffer of this Array object. 
 
Returns the grow length of this Array object. 
 
This is the overview for the insert method overload. 
 
Inserts the specified value into this Array object at the specified index.
 
 
Returns true if and only if this Array is empty. 
 
last 
This is the overview for the last method overload. 
 
Returns the number of elements in this Array object. 
 
Returns the logical length of this Array object. 
 
Returns the physical length of this Array object. 
 
Appends an element to the end of this Array object. 
 
Removes the element with the specified value from this Array object.
 
 
Removes the element at the specified index from this Array object.
 
 
Removes the first element in this Array object. 
 
Removes the last element in this Array object. 
 
Removes the specified elements from this Array object.
 
 
Sets the physical length of this Array object to the specified reserve length if the reserve length is greater than its physical length.
 
 
This is the overview for the resize method overload. 
 
Reverses the order of the elements in this Array object. 
 
Sets all the elements in this Array object to the specified value.  
 
Sets the element of this Array object at the specified index.  
 
Sets the grow length of this Array object.  
 
Sets the logical length of this Array object.  
 
Sets the physical length of this Array object.  
 
size 
Returns the logical length of this Array object. 
 
swap 
Swaps the specified elements in this Array object.  
Name 
Description 
This is nested type OdArrayMemAlloc::const_iterator. 
This is nested type OdArrayMemAlloc::iterator. 
This is nested type OdArrayMemAlloc::size_type. 
 
Name 
Description 
 
[] 
This is the overview for the [] operator overload. 
 
= 
This is =, a member of class OdArrayMemAlloc. 
 
== 
This is ==, a member of class OdArrayMemAlloc. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.