CFx SDK Documentation 2024 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 219 of file OdLinkedArray.h.
|
inline |
Definition at line 233 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 656 of file OdLinkedArray.h.
|
inline |
Appends a provided element to the end of this Array object.
Definition at line 641 of file OdLinkedArray.h.
|
inline |
Returns an iterator that references the first element in this Array object.
Definition at line 440 of file OdLinkedArray.h.
|
inline |
Returns a const_iterator that references the first element in this Array object.
Definition at line 447 of file OdLinkedArray.h.
|
inline |
Removes all elements from this Array object.
Definition at line 246 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 501 of file OdLinkedArray.h.
|
inline |
Returns true if and only if this Array is empty.
Definition at line 687 of file OdLinkedArray.h.
|
inline |
Returns an iterator that references the location after the last element in this Array object.
Definition at line 454 of file OdLinkedArray.h.
|
inline |
Returns a const_iterator that references the location after the last element in this Array object.
Definition at line 461 of file OdLinkedArray.h.
|
inline |
Searches the specified value inside this Array object.
val | [in] Value for which to search. |
Definition at line 471 of file OdLinkedArray.h.
|
inline |
Searches the specified value inside this Array object.
val | [in] Value for which to search. |
Definition at line 487 of file OdLinkedArray.h.
|
inline |
Returns the first element of this Array object.
Definition at line 663 of file OdLinkedArray.h.
|
inline |
Returns the first element of this Array object (const reference).
Definition at line 669 of file OdLinkedArray.h.
|
inline |
Removes excessive elements in internal buffer of this Array object.
Definition at line 713 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 573 of file OdLinkedArray.h.
|
inline |
Returns the last element of this Array object.
Definition at line 675 of file OdLinkedArray.h.
|
inline |
Returns the last element of this Array object (const reference).
Definition at line 681 of file OdLinkedArray.h.
|
inline |
Removes the specified element from this Array object.
at | [in] Element to remove. |
Definition at line 613 of file OdLinkedArray.h.
|
inline |
Removes the last element in this Array object.
Definition at line 263 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 241 of file OdLinkedArray.h.
|
inline |
Specifies the logical length for this Array object.
newSize | [in] Logical length. |
Definition at line 510 of file OdLinkedArray.h.
|
inline |
Returns the logical length of this Array object.
Definition at line 693 of file OdLinkedArray.h.