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

OdArray.h

This template class implements dynamic Array objects 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. 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.
 

TD_Db 

 

 
Name 
Description 
 
This is ~OdArray, a member of class OdArray. 
 
This is the overview for the OdArray 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.
 
 
This is create, a member of class OdArray. 
 
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. 
 
This is the overview for the rbegin method overload. 
 
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.
 
 
rend 
This is the overview for the rend method overload. 
 
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 OdArray::const_iterator. 
This is nested type OdArray::const_reference. 
This is nested type OdArray::iterator. 
This is nested type OdArray::reference. 
This is nested type OdArray::size_type. 
This is nested type OdArray::value_type. 
 
Name 
Description 
 
!= 
This is !=, a member of class OdArray. 
 
[] 
This is the overview for the [] operator overload. 
 
= 
This is =, a member of class OdArray. 
 
== 
This is ==, a member of class OdArray. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.