|
CFx SDK Documentation 2026 SP0
|
#include <OdLinkedArray.h>
Classes | |
| class | const_iterator |
| class | iterator |
Public Types | |
| typedef A::size_type | size_type |
Public Member Functions | |
| OdLinkedArray (OdUInt32 pageSize=0x10) | |
| ~OdLinkedArray () | |
| void | reserve (size_type) |
| void | clear () |
| T | removeLast () |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| iterator | find (const T &val) |
| const_iterator | find (const T &val) const |
| bool | contains (const T &val) const |
| void | resize (size_type newSize) |
| iterator | insert (iterator before, const T &val=T()) |
| T | remove (iterator at) |
| void | append (const T &value) |
| iterator | append () |
| T & | first () |
| const T & | first () const |
| T & | last () |
| const T & | last () const |
| bool | empty () const |
| size_type | size () const |
| void | freeExtra () |
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.
<group Other_Classes>
Definition at line 39 of file OdLinkedArray.h.
| typedef A::size_type OdLinkedArray< T, A >::size_type |
Definition at line 42 of file OdLinkedArray.h.
|
inline |
Constructor
| pageSize | [in] Length of memory buffers which stores elements. |
Definition at line 220 of file OdLinkedArray.h.
|
inline |
Definition at line 234 of file OdLinkedArray.h.
|
inline |
Appends a new uninitialized element to the end of this Array object and returns iterator, which references added element.
Definition at line 660 of file OdLinkedArray.h.
|
inline |
Appends a provided element to the end of this Array object.
Definition at line 645 of file OdLinkedArray.h.
|
inline |
Returns an iterator that references the first element in this Array object.
Definition at line 444 of file OdLinkedArray.h.
|
inline |
Returns a const_iterator that references the first element in this Array object.
Definition at line 451 of file OdLinkedArray.h.
|
inline |
Removes all elements from this Array object.
Definition at line 247 of file OdLinkedArray.h.
|
inline |
Returns true if and only if this Array object contains ths specified value.
| val | [in] Value for which to search. |
Definition at line 505 of file OdLinkedArray.h.
|
inline |
Returns true if and only if this Array is empty.
Definition at line 691 of file OdLinkedArray.h.
|
inline |
Returns an iterator that references the location after the last element in this Array object.
Definition at line 458 of file OdLinkedArray.h.
|
inline |
Returns a const_iterator that references the location after the last element in this Array object.
Definition at line 465 of file OdLinkedArray.h.
|
inline |
Searches the specified value inside this Array object.
| val | [in] Value for which to search. |
Definition at line 475 of file OdLinkedArray.h.
|
inline |
Searches the specified value inside this Array object.
| val | [in] Value for which to search. |
Definition at line 491 of file OdLinkedArray.h.
|
inline |
Returns the first element of this Array object.
Definition at line 667 of file OdLinkedArray.h.
|
inline |
Returns the first element of this Array object (const reference).
Definition at line 673 of file OdLinkedArray.h.
|
inline |
Removes excessive elements in internal buffer of this Array object.
Definition at line 717 of file OdLinkedArray.h.
|
inline |
Inserts an element into this Array object.
| before | [in] Position where first element is to be inserted. |
| val | [in] Value to insert. |
Definition at line 577 of file OdLinkedArray.h.
|
inline |
Returns the last element of this Array object.
Definition at line 679 of file OdLinkedArray.h.
|
inline |
Returns the last element of this Array object (const reference).
Definition at line 685 of file OdLinkedArray.h.
|
inline |
Removes the specified element from this Array object.
| at | [in] Element to remove. |
Definition at line 617 of file OdLinkedArray.h.
|
inline |
Removes the last element in this Array object.
Definition at line 264 of file OdLinkedArray.h.
|
inline |
For compatibility with other array types. Sets the physical length of this Array object to the specified reserve length if the reserve length is greater than its physical length.
Definition at line 242 of file OdLinkedArray.h.
|
inline |
Specifies the logical length for this Array object.
| newSize | [in] Logical length. |
Definition at line 514 of file OdLinkedArray.h.
|
inline |
Returns the logical length of this Array object.
Definition at line 697 of file OdLinkedArray.h.