CFx SDK Documentation
2020SP3
|
#include <OdArrayMemAlloc.h>
Public Types | |
typedef A::size_type | size_type |
typedef T * | iterator |
typedef const T * | const_iterator |
Friends | |
class | reallocator |
This template class implements dynamic Array objects within DWGdirect.
Some definitions are in order:
<group Other_Classes>
Definition at line 64 of file OdArrayMemAlloc.h.
typedef const T* OdArrayMemAlloc< T, A, Mm >::const_iterator |
Definition at line 69 of file OdArrayMemAlloc.h.
typedef T* OdArrayMemAlloc< T, A, Mm >::iterator |
Definition at line 68 of file OdArrayMemAlloc.h.
typedef A::size_type OdArrayMemAlloc< T, A, Mm >::size_type |
Definition at line 67 of file OdArrayMemAlloc.h.
|
inlineexplicit |
physicalLength | [in] Initial physical length. |
growLength | [in] Initial grow length. |
Definition at line 613 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 628 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 630 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 632 of file OdArrayMemAlloc.h.
|
inline |
Returns an interator (pointer) to the first element after the last element in the array.
Definition at line 579 of file OdArrayMemAlloc.h.
|
inline |
Appends the specified Array object to the end of this Array object.
otherArray | [in] Array to append. |
Definition at line 685 of file OdArrayMemAlloc.h.
|
inline |
Appends the specified value to the end of this Array object.
value | [in] Value to append. |
Definition at line 572 of file OdArrayMemAlloc.h.
|
inline |
Returns the data buffer of this Array object.
Definition at line 506 of file OdArrayMemAlloc.h.
|
inline |
Returns the data buffer of this Array object.
Definition at line 496 of file OdArrayMemAlloc.h.
|
inline |
Assigns the specified range of elements to this Array object.
first | [in] Position of first element to be assigned. |
afterLast | [in] Position of first element after the last element to be assigned. |
Definition at line 356 of file OdArrayMemAlloc.h.
|
inline |
Returns the element of this Array object at the specified index.
arrayIndex | [in] Array index. |
Definition at line 521 of file OdArrayMemAlloc.h.
|
inline |
Returns the element of this Array object at the specified index.
arrayIndex | [in] Array index. |
Definition at line 527 of file OdArrayMemAlloc.h.
|
inline |
Returns an iterator that references the first element in this Array object.
Definition at line 207 of file OdArrayMemAlloc.h.
|
inline |
Returns an iterator that references the first element in this Array object.
Definition at line 211 of file OdArrayMemAlloc.h.
|
inline |
Returns the physical length of this Array object.
Definition at line 335 of file OdArrayMemAlloc.h.
|
inline |
Removes all elements from this Array object.
Definition at line 394 of file OdArrayMemAlloc.h.
|
inline |
Returns true if and only if this Array object contains ths specified value.
value | [in] Value for which to search. |
start | [in] Starting index of search. |
Definition at line 462 of file OdArrayMemAlloc.h.
|
inline |
Returns true if and only if this Array is empty.
Definition at line 330 of file OdArrayMemAlloc.h.
|
inline |
Returns an iterator that references the location after the last element in this Array object.
Definition at line 216 of file OdArrayMemAlloc.h.
|
inline |
Returns an iterator that references the location after the last element in this Array object.
Definition at line 220 of file OdArrayMemAlloc.h.
|
inline |
Removes the range of elements from this Array object.
first | [in] Position of first element to be assigned. |
afterLast | [in] Position of first element after the last element to be assigned. |
Definition at line 367 of file OdArrayMemAlloc.h.
|
inline |
Removes the specified element from this Array object.
where | [in] Element to remove. |
Definition at line 384 of file OdArrayMemAlloc.h.
|
inline |
Returns true if and only if this Array object contains ths specified value.
value | [in] Value for which to search. |
findIndex | [out] Receives the index of the found value. |
start | [in] Starting index of search. |
Definition at line 797 of file OdArrayMemAlloc.h.
|
inline |
Returns the first element of this Array object.
Definition at line 549 of file OdArrayMemAlloc.h.
|
inline |
Returns the first element of this Array object.
Definition at line 553 of file OdArrayMemAlloc.h.
|
inline |
Returns the element of this Array object at the specified position.
arrayIndex | [in] Array index. |
Definition at line 543 of file OdArrayMemAlloc.h.
|
inline |
Returns the data buffer of this Array object.
Definition at line 501 of file OdArrayMemAlloc.h.
|
inline |
Returns the grow length of this Array object.
Definition at line 491 of file OdArrayMemAlloc.h.
|
inline |
Inserts range of elements into this Array object.
before | [in] Position where first element is to be inserted. |
value | [in] Value to insert. |
Definition at line 445 of file OdArrayMemAlloc.h.
|
inline |
Inserts an elementinto this Array object.
before | [in] Position where first element is to be inserted. |
first | [in] Position of first element to be inserted. |
afterLast | [in] Position of first element after the last element to be inserted. |
Definition at line 232 of file OdArrayMemAlloc.h.
|
inline |
Inserts number of elements into this Array object.
before | [in] Position where first element is to be inserted. |
numElements | [in] Number of elements to insert. |
value | [in] Value to insert. |
Definition at line 412 of file OdArrayMemAlloc.h.
|
inline |
Inserts the specified value into this Array object at the specified index.
arrayIndex | [in] Array index. |
value | [in] Value to insert. |
Elements starting at arrayIndex will have their indices incremented.
Returns a reference to this Array object.
Definition at line 705 of file OdArrayMemAlloc.h.
|
inline |
Returns true if and only if this Array is empty.
Definition at line 476 of file OdArrayMemAlloc.h.
|
inline |
Returns the last element of this Array object.
Definition at line 558 of file OdArrayMemAlloc.h.
|
inline |
Returns the last element of this Array object.
Definition at line 562 of file OdArrayMemAlloc.h.
|
inline |
Returns the number of elements in this Array object.
Definition at line 471 of file OdArrayMemAlloc.h.
|
inline |
Returns the logical length of this Array object.
Definition at line 481 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 634 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 644 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 513 of file OdArrayMemAlloc.h.
|
inline |
Definition at line 511 of file OdArrayMemAlloc.h.
|
inline |
Returns the physical length of this Array object.
Definition at line 486 of file OdArrayMemAlloc.h.
|
inline |
Appends an element to the end of this Array object.
Definition at line 399 of file OdArrayMemAlloc.h.
|
inline |
Removes the element with the specified value from this Array object.
value | [in] Value for which to search. |
start | [in] Starting index of search. |
Returns true if and only if an element was removed.
Definition at line 909 of file OdArrayMemAlloc.h.
|
inline |
Removes the element at the specified index from this Array object.
arrayIndex | [in] Array index. |
Elements starting at arrayIndex+1 will have their indices decremented.
Returns a reference to this Array object.
Definition at line 742 of file OdArrayMemAlloc.h.
|
inline |
Removes the first element in this Array object.
Definition at line 584 of file OdArrayMemAlloc.h.
|
inline |
Removes the last element in this Array object.
Definition at line 589 of file OdArrayMemAlloc.h.
|
inline |
Removes the specified elements from this Array object.
startIndex | [in] Start index. |
endIndex | [in] End index. |
Returns a reference to this Array object.
Definition at line 768 of file OdArrayMemAlloc.h.
|
inline |
Sets the physical length of this Array object to the specified reserve length if the reserve length is greater than its physical length.
reserveLength | [in] Minimum physical length. |
Definition at line 343 of file OdArrayMemAlloc.h.
|
inline |
Specifies the logical length for this Array object.
logicalLength | [in] Logical length. |
Definition at line 297 of file OdArrayMemAlloc.h.
|
inline |
Specifies the logical length for this Array object.
logicalLength | [in] Logical length. |
value | [in] Value for the elements added to obtain the new logical length. |
Definition at line 266 of file OdArrayMemAlloc.h.
|
inline |
Reverses the order of the elements in this Array object.
Definition at line 855 of file OdArrayMemAlloc.h.
|
inline |
Sets all the elements in this Array object to the specified value.
value | [in] Value to assign. |
Definition at line 665 of file OdArrayMemAlloc.h.
|
inline |
Sets the element of this Array object at the specified index.
arrayIndex | [in] Array index. |
value | [in] Value. |
Definition at line 534 of file OdArrayMemAlloc.h.
|
inline |
Sets the grow length of this Array object.
growLength | [in] Grow length. |
Definition at line 595 of file OdArrayMemAlloc.h.
|
inline |
Sets the logical length of this Array object.
logLength | [in] Logical length. |
Definition at line 825 of file OdArrayMemAlloc.h.
|
inline |
Sets the physical length of this Array object.
physLength | [in] Physical length. |
Definition at line 838 of file OdArrayMemAlloc.h.
|
inline |
Returns the logical length of this Array object.
Definition at line 325 of file OdArrayMemAlloc.h.
|
inline |
Swaps the specified elements in this Array object.
firstIndex | [in] Index of first element. |
secondIndex | [in] Index of second element. |
Definition at line 882 of file OdArrayMemAlloc.h.
|
friend |
Definition at line 146 of file OdArrayMemAlloc.h.