Abstract base class for a vector. More...
#include <arccore/common/AbstractArray.h>
Public Types | |
| typedef ArrayTraits< T >::ConstReferenceType | ConstReferenceType |
| typedef ArrayTraits< T >::IsPODType | IsPODType |
| typedef AbstractArray< T > | ThatClassType |
| using | TrueImpl = T |
| typedef T | value_type |
| Type of the array elements. | |
| typedef value_type * | pointer |
| Pointer type of an array element. | |
| typedef const value_type * | const_pointer |
| Constant pointer type of an array element. | |
| typedef ArrayIterator< pointer > | iterator |
| Type of the iterator over an array element. | |
| typedef ArrayIterator< const_pointer > | const_iterator |
| Type of the constant iterator over an array element. | |
| typedef value_type & | reference |
| Type reference of an array element. | |
| typedef ConstReferenceType | const_reference |
| Type constant reference of an array element. | |
| typedef Int64 | size_type |
| Type indexing the array. | |
| typedef ptrdiff_t | difference_type |
| Type of a distance between array element iterators. | |
| typedef std::reverse_iterator< iterator > | reverse_iterator |
| typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
| AbstractArray (const AbstractArray< T > &rhs)=delete | |
| AbstractArray< T > & | operator= (const AbstractArray< T > &rhs)=delete |
| void | dispose () |
| Frees the memory used by the array. | |
| operator ConstArrayView< T > () const | |
| operator Span< const T > () const | |
| operator SmallSpan< const T > () const | |
| Integer | size () const |
| Number of elements in the vector. | |
| Integer | length () const |
| Number of elements in the vector. | |
| Integer | capacity () const |
| Capacity (number of allocated elements) of the vector. | |
| Int64 | largeSize () const |
| Number of elements in the vector (in 64 bits). | |
| Int64 | largeLength () const |
| Number of elements in the vector (in 64 bits). | |
| Int64 | largeCapacity () const |
| Capacity (number of allocated elements) of the vector (in 64 bits). | |
| bool | empty () const |
| Capacity (number of allocated elements) of the vector. | |
| bool | contains (ConstReferenceType v) const |
| True if the array contains the value element v. | |
| ConstReferenceType | operator[] (Int64 i) const |
| Element at index i. | |
| ConstReferenceType | operator() (Int64 i) const |
| Element at index i. | |
| void | setMemoryLocationHint (eMemoryLocationHint new_hint) |
| Modifies the memory location information. | |
| void | _internalSetHostDeviceMemoryLocation (eHostDeviceMemoryLocation location) |
| Sets the physical location of the memory region. | |
| eHostDeviceMemoryLocation | hostDeviceMemoryLocation () const |
| Sets the physical location of the memory region. | |
| void | changeAllocator (const MemoryAllocationOptions &options, RunQueue *queue) |
| void | changeAllocator (const MemoryAllocationOptions &options) |
| void | printInfos (std::ostream &o) |
| Public Member Functions inherited from Arcane::AbstractArrayBase | |
| IMemoryAllocator * | allocator () const |
| MemoryAllocationOptions | allocationOptions () const |
| void | setDebugName (const String &name) |
| Sets the array name for debug information. | |
| String | debugName () const |
| Debug name (null if no name specified). | |
Protected Member Functions | |
| AbstractArray () | |
| Constructs an empty vector with the default allocator. | |
| AbstractArray (ThatClassType &&rhs) ARCCORE_NOEXCEPT | |
| Move constructor. Should only be used by UniqueArray. | |
| AllocatedMemoryInfo | _currentMemoryInfo () const |
| void | _initFromSpan (const Span< const T > &view) |
| Initializes the array with the view view. | |
| void | _initFromAllocator (MemoryAllocationOptions o, Int64 acapacity, void *pre_allocated_buffer=nullptr) |
| Constructs an empty vector with a specific allocator a. | |
| void | _reserve (Int64 new_capacity) |
| Reserves memory for new_capacity elements. | |
| void | _internalRealloc (Int64 new_capacity, bool compute_capacity, RunQueue *queue=nullptr) |
| Reallocates the array for a new capacity equal to new_capacity. | |
| void | _internalReallocate (Int64 new_capacity, RunQueue *queue) |
| void | _internalDeallocate (RunQueue *queue=nullptr) |
| void | _internalAllocate (Int64 new_capacity, RunQueue *queue) |
| void | _copyFromMemory (const T *source) |
| virtual void | _updateReferences () |
| Update references. | |
| virtual Integer | _getNbRef () |
| Update references. | |
| void | _addRange (ConstReferenceType val, Int64 n) |
| Adds n elements of value val to the end of the array. | |
| void | _addRange (Span< const T > val) |
| Adds n elements of value val to the end of the array. | |
| void | _checkFreeMemory () |
| Destroys the instance if no one references it. | |
| void | _destroy () |
| void | _destroyRange (Int64, Int64, TrueType) |
| void | _destroyRange (Int64 abegin, Int64 aend, FalseType) |
| void | _createRangeDefault (Int64, Int64, TrueType) |
| void | _createRangeDefault (Int64 abegin, Int64 aend, FalseType) |
| void | _createRange (Int64 abegin, Int64 aend, ConstReferenceType value, TrueType) |
| void | _createRange (Int64 abegin, Int64 aend, ConstReferenceType value, FalseType) |
| void | _createRange (Int64 abegin, Int64 aend, const T *values) |
| void | _fill (ConstReferenceType value) |
| void | _clone (const ThatClassType &orig_array) |
| template<typename PodType> | |
| void | _resizeHelper (Int64 s, PodType pod_type, RunQueue *queue) |
| void | _resize (Int64 s) |
| void | _resizeNoInit (Int64 s, RunQueue *queue=nullptr) |
| Redimensionne sans initialiser les nouvelles valeurs. | |
| void | _clear () |
| void | _resize (Int64 s, ConstReferenceType value) |
| Redimensionne et remplit les nouvelles valeurs avec value. | |
| void | _copy (const T *rhs_begin, TrueType) |
| void | _copy (const T *rhs_begin, FalseType) |
| void | _copy (const T *rhs_begin) |
| void | _resizeAndCopyView (Span< const T > rhs) |
| Redimensionne l'instance et recopie les valeurs de rhs. | |
| void | _move (ThatClassType &rhs) ARCCORE_NOEXCEPT |
| Implements the move assignment operator. | |
| void | _swap (ThatClassType &rhs) ARCCORE_NOEXCEPT |
| Swaps the values of the instance with those of rhs. | |
| void | _shrink () |
| void | _shrink (Int64 new_capacity) |
| void | _reset () |
| Resets the array to an empty array. | |
| constexpr Integer | _clampSizeOffet (Int64 offset, Int32 asize) const |
| void | _assignFromArray (const AbstractArray< T > &rhs) |
| void | _setMP (TrueImpl *new_mp) |
| void | _setMP2 (TrueImpl *new_mp, ArrayMetaData *new_md) |
| bool | _isSharedNull () |
| Protected Member Functions inherited from Arcane::AbstractArrayBase | |
| virtual bool | _isUseOwnMetaData () const |
| Indicates if m_md refers to m_meta_data. | |
| void | _swapMetaData (AbstractArrayBase &rhs) |
| void | _copyMetaData (const AbstractArrayBase &rhs) |
| void | _allocateMetaData () |
| void | _deallocateMetaData (ArrayMetaData *md) |
| void | _checkValidSharedArray () |
Static Protected Member Functions | |
| static constexpr Int64 | typeSize () |
| Static Protected Member Functions inherited from Arcane::AbstractArrayBase | |
| static constexpr RunQueue * | _nullRunQueue () |
| Explicit method for a null RunQueue. | |
Protected Attributes | |
| T * | m_ptr = nullptr |
| Protected Attributes inherited from Arcane::AbstractArrayBase | |
| ArrayMetaData * | m_md = nullptr |
| ArrayMetaData | m_meta_data |
Friends | |
| bool | operator== (const AbstractArray< T > &rhs, const AbstractArray< T > &lhs) |
| bool | operator!= (const AbstractArray< T > &rhs, const AbstractArray< T > &lhs) |
| bool | operator== (const AbstractArray< T > &rhs, const Span< const T > &lhs) |
| bool | operator!= (const AbstractArray< T > &rhs, const Span< const T > &lhs) |
| bool | operator== (const Span< const T > &rhs, const AbstractArray< T > &lhs) |
| bool | operator!= (const Span< const T > &rhs, const AbstractArray< T > &lhs) |
| std::ostream & | operator<< (std::ostream &o, const AbstractArray< T > &val) |
Abstract base class for a vector.
This class cannot be used directly. To use a vector, choose the SharedArray or UniqueArray class.
Definition at line 169 of file AbstractArray.h.
| typedef ArrayIterator<const_pointer> Arcane::AbstractArray< T >::const_iterator |
Type of the constant iterator over an array element.
Definition at line 190 of file AbstractArray.h.
| typedef const value_type* Arcane::AbstractArray< T >::const_pointer |
Constant pointer type of an array element.
Definition at line 186 of file AbstractArray.h.
| typedef ConstReferenceType Arcane::AbstractArray< T >::const_reference |
Type constant reference of an array element.
Definition at line 194 of file AbstractArray.h.
| typedef std::reverse_iterator<const_iterator> Arcane::AbstractArray< T >::const_reverse_iterator |
Definition at line 201 of file AbstractArray.h.
| typedef ArrayTraits<T>::ConstReferenceType Arcane::AbstractArray< T >::ConstReferenceType |
Definition at line 174 of file AbstractArray.h.
| typedef ptrdiff_t Arcane::AbstractArray< T >::difference_type |
Type of a distance between array element iterators.
Definition at line 198 of file AbstractArray.h.
| typedef ArrayTraits<T>::IsPODType Arcane::AbstractArray< T >::IsPODType |
Definition at line 175 of file AbstractArray.h.
| typedef ArrayIterator<pointer> Arcane::AbstractArray< T >::iterator |
Type of the iterator over an array element.
Definition at line 188 of file AbstractArray.h.
| typedef value_type* Arcane::AbstractArray< T >::pointer |
Pointer type of an array element.
Definition at line 184 of file AbstractArray.h.
| typedef value_type& Arcane::AbstractArray< T >::reference |
Type reference of an array element.
Definition at line 192 of file AbstractArray.h.
| typedef std::reverse_iterator<iterator> Arcane::AbstractArray< T >::reverse_iterator |
Definition at line 200 of file AbstractArray.h.
| typedef Int64 Arcane::AbstractArray< T >::size_type |
Type indexing the array.
Definition at line 196 of file AbstractArray.h.
| typedef AbstractArray<T> Arcane::AbstractArray< T >::ThatClassType |
Definition at line 176 of file AbstractArray.h.
| using Arcane::AbstractArray< T >::TrueImpl = T |
Definition at line 177 of file AbstractArray.h.
| typedef T Arcane::AbstractArray< T >::value_type |
Type of the array elements.
Definition at line 182 of file AbstractArray.h.
|
inlineprotected |
Constructs an empty vector with the default allocator.
Definition at line 206 of file AbstractArray.h.
Referenced by Arcane::Array2< T >::Array2(), Arcane::Array2< T >::Array2(), Arcane::Array2< T >::Array2(), and Arcane::Array2< T >::Array2().
|
inlineprotected |
Move constructor. Should only be used by UniqueArray.
Definition at line 210 of file AbstractArray.h.
|
inlineoverrideprotected |
Definition at line 217 of file AbstractArray.h.
|
inlineprotected |
Adds n elements of value val to the end of the array.
Definition at line 596 of file AbstractArray.h.
Referenced by Arcane::Array< IVariable * >::addRange(), Arcane::Array< IVariable * >::addRange(), Arcane::Array< IVariable * >::addRange(), Arcane::Array< IVariable * >::addRange(), Arcane::Array< IVariable * >::addRange(), and Arcane::Array< IVariable * >::addRange().
|
inlineprotected |
Adds n elements of value val to the end of the array.
Definition at line 607 of file AbstractArray.h.
|
inlineprotected |
Definition at line 858 of file AbstractArray.h.
|
inlineprotected |
Destroys the instance if no one references it.
Definition at line 619 of file AbstractArray.h.
|
inlineconstexprprotected |
Definition at line 848 of file AbstractArray.h.
|
inlineprotected |
Definition at line 714 of file AbstractArray.h.
|
inlineprotected |
Definition at line 679 of file AbstractArray.h.
|
inlineprotected |
Definition at line 745 of file AbstractArray.h.
|
inlineprotected |
Definition at line 740 of file AbstractArray.h.
|
inlineprotected |
Definition at line 736 of file AbstractArray.h.
|
inlineprotected |
Definition at line 510 of file AbstractArray.h.
|
inlineprotected |
Definition at line 665 of file AbstractArray.h.
|
inlineprotected |
Definition at line 658 of file AbstractArray.h.
|
inlineprotected |
Definition at line 651 of file AbstractArray.h.
|
inlineprotected |
Definition at line 644 of file AbstractArray.h.
|
inlineprotected |
Definition at line 641 of file AbstractArray.h.
|
inlineprotected |
Definition at line 231 of file AbstractArray.h.
|
inlineprotected |
Definition at line 626 of file AbstractArray.h.
|
inlineprotected |
Definition at line 634 of file AbstractArray.h.
|
inlineprotected |
Definition at line 630 of file AbstractArray.h.
|
inlineprotected |
Definition at line 674 of file AbstractArray.h.
|
inlineprotectedvirtual |
Update references.
Reimplemented in Arcane::SharedArray2< T >, Arcane::SharedArray2< BFloat16 >, Arcane::SharedArray2< BFloat16 >, Arcane::SharedArray2< bool >, Arcane::SharedArray2< bool >, Arcane::SharedArray2< Byte >, Arcane::SharedArray2< Byte >, Arcane::SharedArray2< Float16 >, Arcane::SharedArray2< Float16 >, Arcane::SharedArray2< Float32 >, Arcane::SharedArray2< Float32 >, Arcane::SharedArray2< Int16 >, Arcane::SharedArray2< Int16 >, Arcane::SharedArray2< Int32 >, Arcane::SharedArray2< Int32 >, Arcane::SharedArray2< Int64 >, Arcane::SharedArray2< Int64 >, Arcane::SharedArray2< Int8 >, Arcane::SharedArray2< Int8 >, Arcane::SharedArray2< Integer >, Arcane::SharedArray2< Integer >, Arcane::SharedArray2< Pointer >, Arcane::SharedArray2< Pointer >, Arcane::SharedArray2< Real >, Arcane::SharedArray2< Real >, Arcane::SharedArray2< Real2 >, Arcane::SharedArray2< Real2 >, Arcane::SharedArray2< Real2x2 >, Arcane::SharedArray2< Real2x2 >, Arcane::SharedArray2< Real3 >, Arcane::SharedArray2< Real3 >, Arcane::SharedArray2< Real3x3 >, Arcane::SharedArray2< Real3x3 >, Arcane::SharedArray2< String >, Arcane::SharedArray2< String >, Arcane::SharedArray2< UChar >, Arcane::SharedArray2< UChar >, Arcane::SharedArray< T >, Arcane::SharedArray< BFloat16 >, Arcane::SharedArray< BFloat16 >, Arcane::SharedArray< bool >, Arcane::SharedArray< bool >, Arcane::SharedArray< Byte >, Arcane::SharedArray< Byte >, Arcane::SharedArray< DataType >, Arcane::SharedArray< EdgeTypeConstRef >, Arcane::SharedArray< EdgeTypeConstRef >, Arcane::SharedArray< EdgeTypeRef >, Arcane::SharedArray< EdgeTypeRef >, Arcane::SharedArray< Float16 >, Arcane::SharedArray< Float16 >, Arcane::SharedArray< Float32 >, Arcane::SharedArray< Float32 >, Arcane::SharedArray< Int16 >, Arcane::SharedArray< Int16 >, Arcane::SharedArray< Int32 >, Arcane::SharedArray< Int32 >, Arcane::SharedArray< Int64 >, Arcane::SharedArray< Int64 >, Arcane::SharedArray< Int8 >, Arcane::SharedArray< Int8 >, Arcane::SharedArray< Integer >, Arcane::SharedArray< Integer >, Arcane::SharedArray< Pointer >, Arcane::SharedArray< Pointer >, Arcane::SharedArray< Real >, Arcane::SharedArray< Real >, Arcane::SharedArray< Real2 >, Arcane::SharedArray< Real2 >, Arcane::SharedArray< Real2x2 >, Arcane::SharedArray< Real2x2 >, Arcane::SharedArray< Real3 >, Arcane::SharedArray< Real3 >, Arcane::SharedArray< Real3x3 >, Arcane::SharedArray< Real3x3 >, Arcane::SharedArray< String >, Arcane::SharedArray< String >, Arcane::SharedArray< UChar >, Arcane::SharedArray< UChar >, Arcane::SharedArray< VertexTypeConstRef >, Arcane::SharedArray< VertexTypeConstRef >, Arcane::SharedArray< VertexTypeRef >, Arcane::SharedArray< VertexTypeRef >, Arcane::SharedArray< XmlNode >, Arcane::SharedArray< XmlNode >, Arccore::SharedArray2< T >, and Arccore::SharedArray< T >.
Definition at line 591 of file AbstractArray.h.
|
inlineprotected |
Constructs an empty vector with a specific allocator a.
If acapacity is not null, memory is allocated to hold acapacity elements (but the array remains empty).
This method must only be called in a derived class constructor and only by classes using UniqueArray semantics.
Definition at line 262 of file AbstractArray.h.
Referenced by Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SmallArray< T, NbElement >::SmallArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), and Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray().
|
inlineprotected |
Initializes the array with the view view.
This method must only be called in a derived class constructor.
Definition at line 243 of file AbstractArray.h.
Referenced by Arcane::SharedArray< T >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SharedArray< XmlNode >::SharedArray(), Arcane::SmallArray< T, NbElement >::SmallArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray(), and Arcane::UniqueArray< CaseOptionEnumValue * >::UniqueArray().
|
inlineprotected |
Definition at line 503 of file AbstractArray.h.
|
inlineprotected |
Definition at line 494 of file AbstractArray.h.
|
inlineprotected |
Reallocates the array for a new capacity equal to new_capacity.
If the new capacity is less than the old one, nothing happens.
Definition at line 435 of file AbstractArray.h.
Referenced by Arcane::AbstractArray< DataType >::_addRange(), Arcane::AbstractArray< DataType >::_addRange(), Arcane::AbstractArray< DataType >::_reserve(), Arcane::AbstractArray< DataType >::_resize(), Arcane::AbstractArray< DataType >::_resizeAndCopyView(), and Arcane::Array< IVariable * >::add().
|
inlineprotected |
Definition at line 464 of file AbstractArray.h.
|
inline |
Sets the physical location of the memory region.
Definition at line 355 of file AbstractArray.h.
|
inlineprotected |
Definition at line 892 of file AbstractArray.h.
|
inlineprotected |
Implements the move assignment operator.
This call is only valid for UniqueArray type arrays that have only one reference. The info from rhs is directly copied to this instance. In return, rhs contains an empty array.
Definition at line 790 of file AbstractArray.h.
Referenced by Arcane::UniqueArray< CaseOptionEnumValue * >::operator=().
|
inlineprotected |
Reserves memory for new_capacity elements.
Definition at line 418 of file AbstractArray.h.
Referenced by Arcane::Array< IVariable * >::reserve().
|
inlineprotected |
Resets the array to an empty array.
Definition at line 843 of file AbstractArray.h.
Referenced by Arcane::SmallArray< T, NbElement >::~SmallArray().
|
inlineprotected |
Definition at line 705 of file AbstractArray.h.
|
inlineprotected |
Redimensionne et remplit les nouvelles valeurs avec value.
Definition at line 720 of file AbstractArray.h.
|
inlineprotected |
Redimensionne l'instance et recopie les valeurs de rhs.
Si la taille diminue, les éléments compris entre size() et rhs.size() sont détruits.
Definition at line 758 of file AbstractArray.h.
Referenced by Arcane::Array< IVariable * >::copy().
|
inlineprotected |
Definition at line 689 of file AbstractArray.h.
|
inlineprotected |
Redimensionne sans initialiser les nouvelles valeurs.
Definition at line 710 of file AbstractArray.h.
Referenced by Arcane::Array< IVariable * >::resizeNoInit().
|
inlineprotected |
Definition at line 877 of file AbstractArray.h.
|
inlineprotected |
Definition at line 882 of file AbstractArray.h.
|
inlineprotected |
Definition at line 820 of file AbstractArray.h.
|
inlineprotected |
Definition at line 826 of file AbstractArray.h.
|
inlineprotected |
Swaps the values of the instance with those of rhs.
This call is only valid for UniqueArray type arrays and the exchange is done only by swapping pointers. The operation is therefore constant complexity.
Definition at line 814 of file AbstractArray.h.
Referenced by Arcane::UniqueArray< CaseOptionEnumValue * >::swap().
|
inlineprotectedvirtual |
Update references.
Reimplemented in Arcane::SharedArray2< T >, Arcane::SharedArray2< BFloat16 >, Arcane::SharedArray2< BFloat16 >, Arcane::SharedArray2< bool >, Arcane::SharedArray2< bool >, Arcane::SharedArray2< Byte >, Arcane::SharedArray2< Byte >, Arcane::SharedArray2< Float16 >, Arcane::SharedArray2< Float16 >, Arcane::SharedArray2< Float32 >, Arcane::SharedArray2< Float32 >, Arcane::SharedArray2< Int16 >, Arcane::SharedArray2< Int16 >, Arcane::SharedArray2< Int32 >, Arcane::SharedArray2< Int32 >, Arcane::SharedArray2< Int64 >, Arcane::SharedArray2< Int64 >, Arcane::SharedArray2< Int8 >, Arcane::SharedArray2< Int8 >, Arcane::SharedArray2< Integer >, Arcane::SharedArray2< Integer >, Arcane::SharedArray2< Pointer >, Arcane::SharedArray2< Pointer >, Arcane::SharedArray2< Real >, Arcane::SharedArray2< Real >, Arcane::SharedArray2< Real2 >, Arcane::SharedArray2< Real2 >, Arcane::SharedArray2< Real2x2 >, Arcane::SharedArray2< Real2x2 >, Arcane::SharedArray2< Real3 >, Arcane::SharedArray2< Real3 >, Arcane::SharedArray2< Real3x3 >, Arcane::SharedArray2< Real3x3 >, Arcane::SharedArray2< String >, Arcane::SharedArray2< String >, Arcane::SharedArray2< UChar >, Arcane::SharedArray2< UChar >, Arcane::SharedArray< T >, Arcane::SharedArray< BFloat16 >, Arcane::SharedArray< BFloat16 >, Arcane::SharedArray< bool >, Arcane::SharedArray< bool >, Arcane::SharedArray< Byte >, Arcane::SharedArray< Byte >, Arcane::SharedArray< DataType >, Arcane::SharedArray< EdgeTypeConstRef >, Arcane::SharedArray< EdgeTypeConstRef >, Arcane::SharedArray< EdgeTypeRef >, Arcane::SharedArray< EdgeTypeRef >, Arcane::SharedArray< Float16 >, Arcane::SharedArray< Float16 >, Arcane::SharedArray< Float32 >, Arcane::SharedArray< Float32 >, Arcane::SharedArray< Int16 >, Arcane::SharedArray< Int16 >, Arcane::SharedArray< Int32 >, Arcane::SharedArray< Int32 >, Arcane::SharedArray< Int64 >, Arcane::SharedArray< Int64 >, Arcane::SharedArray< Int8 >, Arcane::SharedArray< Int8 >, Arcane::SharedArray< Integer >, Arcane::SharedArray< Integer >, Arcane::SharedArray< Pointer >, Arcane::SharedArray< Pointer >, Arcane::SharedArray< Real >, Arcane::SharedArray< Real >, Arcane::SharedArray< Real2 >, Arcane::SharedArray< Real2 >, Arcane::SharedArray< Real2x2 >, Arcane::SharedArray< Real2x2 >, Arcane::SharedArray< Real3 >, Arcane::SharedArray< Real3 >, Arcane::SharedArray< Real3x3 >, Arcane::SharedArray< Real3x3 >, Arcane::SharedArray< String >, Arcane::SharedArray< String >, Arcane::SharedArray< UChar >, Arcane::SharedArray< UChar >, Arcane::SharedArray< VertexTypeConstRef >, Arcane::SharedArray< VertexTypeConstRef >, Arcane::SharedArray< VertexTypeRef >, Arcane::SharedArray< VertexTypeRef >, Arcane::SharedArray< XmlNode >, Arcane::SharedArray< XmlNode >, Arccore::SharedArray2< T >, and Arccore::SharedArray< T >.
Definition at line 587 of file AbstractArray.h.
Referenced by Arcane::AbstractArray< DataType >::dispose().
|
inline |
Capacity (number of allocated elements) of the vector.
Definition at line 306 of file AbstractArray.h.
Referenced by Arcane::ItemGroupImpl::capacity(), and Arcane::MemoryUtils::checkResizeArrayWithCapacity().
|
inline |
Definition at line 571 of file AbstractArray.h.
|
inline |
Definition at line 565 of file AbstractArray.h.
|
inline |
True if the array contains the value element v.
Definition at line 316 of file AbstractArray.h.
Referenced by Arcane::CaseOptionMultiExtended::_search(), and Arcane::CaseOptionMultiSimpleT< T >::_search().
|
inline |
Frees the memory used by the array.
Definition at line 271 of file AbstractArray.h.
|
inline |
Capacity (number of allocated elements) of the vector.
Definition at line 314 of file AbstractArray.h.
Referenced by Arcane::CaseOptionMultiExtended::_search(), Arcane::CaseOptionMultiSimpleT< T >::_search(), and Arcane::ItemGroupImpl::clear().
|
inline |
Sets the physical location of the memory region.
Definition at line 361 of file AbstractArray.h.
|
inline |
Capacity (number of allocated elements) of the vector (in 64 bits).
Definition at line 312 of file AbstractArray.h.
|
inline |
Number of elements in the vector (in 64 bits).
Definition at line 310 of file AbstractArray.h.
|
inline |
Number of elements in the vector (in 64 bits).
Definition at line 308 of file AbstractArray.h.
Referenced by Arcane::ParallelMngDispatcher::broadcastMemoryBuffer(), Arcane::MemoryUtils::checkResizeArrayWithCapacity(), and Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize().
|
inline |
Number of elements in the vector.
Definition at line 304 of file AbstractArray.h.
|
inline |
Definition at line 286 of file AbstractArray.h.
|
inline |
Definition at line 294 of file AbstractArray.h.
|
inline |
Definition at line 290 of file AbstractArray.h.
|
inline |
Element at index i.
Definition at line 335 of file AbstractArray.h.
|
inline |
Element at index i.
Definition at line 329 of file AbstractArray.h.
|
inline |
Definition at line 579 of file AbstractArray.h.
|
inline |
Modifies the memory location information.
Definition at line 344 of file AbstractArray.h.
|
inline |
Number of elements in the vector.
Definition at line 302 of file AbstractArray.h.
Referenced by Arcane::ItemTypeInfoBuilder::addEdge(), Arcane::ItemTypeInfoBuilder::addEdge2D(), Arcane::ItemTypeInfoBuilder::addFaceGeneric(), Arcane::ItemTypeInfoBuilder::addFaceHeptagon(), Arcane::ItemTypeInfoBuilder::addFaceHexagon(), Arcane::ItemTypeInfoBuilder::addFaceLine(), Arcane::ItemTypeInfoBuilder::addFaceLine3(), Arcane::ItemTypeInfoBuilder::addFaceLine4(), Arcane::ItemTypeInfoBuilder::addFaceOctogon(), Arcane::ItemTypeInfoBuilder::addFacePentagon(), Arcane::ItemTypeInfoBuilder::addFaceQuad(), Arcane::ItemTypeInfoBuilder::addFaceQuad8(), Arcane::ItemTypeInfoBuilder::addFaceQuad9(), Arcane::ItemTypeInfoBuilder::addFaceTriangle(), Arcane::ItemTypeInfoBuilder::addFaceTriangle6(), Arcane::ItemTypeInfoBuilder::addFaceVertex(), Arcane::ItemGroupImpl::addItems(), Arcane::ExternalPartitionConstraint::addLinkedCells(), Arcane::IHashAlgorithm::computeHash(), Arcane::ItemItemGroupComputeFunctor< ItemType >::executeFunctor(), Arcane::platform::fillCommandLineArguments(), Arcane::Hdf5VariableReaderHelper2::open(), Arcane::CartesianMeshImpl::reduceNbGhostLayers(), Arcane::HashTableBaseT< KeyType, TraitsType >::rehash(), Arcane::ItemGroupImpl::removeSuppressedItems(), Arcane::HashTableBaseT< KeyType, TraitsType >::resize(), Arcane::Materials::ItemMaterialVariableScalar< DataType >::serialize(), Arcane::Array2< T >::setDebugName(), and Arcane::MeshUtils::writeMeshConnectivity().
|
inlinestaticconstexprprotected |
Definition at line 230 of file AbstractArray.h.
|
friend |
Definition at line 373 of file AbstractArray.h.
|
friend |
Definition at line 383 of file AbstractArray.h.
|
friend |
Definition at line 393 of file AbstractArray.h.
|
friend |
Definition at line 398 of file AbstractArray.h.
|
friend |
Definition at line 368 of file AbstractArray.h.
|
friend |
Definition at line 378 of file AbstractArray.h.
|
friend |
Definition at line 388 of file AbstractArray.h.
|
protected |
Definition at line 413 of file AbstractArray.h.