Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Arccore::AbstractArrayBase

Classe de base interne pour les tableaux. Plus de détails...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/collections/arccore/collections/Array.h>

Dérivée par Arccore::AbstractArray< PrivatePartType * >, Arccore::AbstractArray< ContainerViewType >, Arccore::AbstractArray< GroupIndexInfo >, Arccore::AbstractArray< Arccore::UniqueArray< T > >, Arccore::AbstractArray< XmlNode >, Arccore::AbstractArray< DataType >, Arccore::AbstractArray< Arccore::UniqueArray< ItemInternal * > >, Arccore::AbstractArray< Arccore::UniqueArray< Cell > >, Arccore::AbstractArray< Arcane::IItemFamily * >, Arccore::AbstractArray< Arccore::Ref< Arcane::Accelerator::RunQueue > >, Arccore::AbstractArray< Int32 >, Arccore::AbstractArray< Arcane::Accelerator::RunQueue >, Arccore::AbstractArray< Arcane::Accelerator::DeviceInfo >, Arccore::AbstractArray< std::byte >, Arccore::AbstractArray< Byte >, Arccore::AbstractArray< unsigned int >, Arccore::AbstractArray< Arcane::Accelerator::impl::RunCommandImpl * >, Arccore::AbstractArray< Int32 * >, Arccore::AbstractArray< Arccore::SharedArray< Integer > >, Arccore::AbstractArray< Integer >, Arccore::AbstractArray< Arccore::Ref< Arcane::IParallelMng > >, Arccore::AbstractArray< Arcane::AlephMatrix * >, Arccore::AbstractArray< Arcane::AlephKernelArguments * >, Arccore::AbstractArray< Arcane::AlephKernelResults * >, Arccore::AbstractArray< AlephInt >, Arccore::AbstractArray< Real >, Arccore::AbstractArray< Arccore::MessagePassing::Request >, Arccore::AbstractArray< Int64 >, Arccore::AbstractArray< double >, Arccore::AbstractArray< Arccore::ArrayView< DataType > >, Arccore::AbstractArray< Arcane::IVariable * >, Arccore::AbstractArray< Arccore::Array2View< DataType > >, Arccore::AbstractArray< Arcane::ApplicationBuildInfo::Impl::NameValuePair >, Arccore::AbstractArray< Arcane::IPrimaryMesh * >, Arccore::AbstractArray< Arcane::ArcaneInitialPartitioner::TrueOwnerInfo >, Arccore::AbstractArray< float >, Arccore::AbstractArray< Arcane::ArcaneMainBatch::SessionExec::SubInfo * >, Arccore::AbstractArray< Arcane::ITimeStats * >, Arccore::AbstractArray< Arccore::UniqueArray< DataType > >, Arccore::AbstractArray< Arccore::UniqueArray2< DataType > >, Arccore::AbstractArray< OutputType >, Arccore::AbstractArray< Arcane::AxlOptionsBuilder::OneOption >, Arccore::AbstractArray< Arcane::CartesianConnectivity::Index >, Arccore::AbstractArray< Arcane::CartesianConnectivity::Permutation >, Arccore::AbstractArray< Arcane::ItemGroupT >, Arccore::AbstractArray< Arccore::Ref< Arcane::CartesianMeshPatch > >, Arccore::AbstractArray< Arcane::ICartesianMeshPatch * >, Arccore::AbstractArray< Arcane::CaseOptionError >, Arccore::AbstractArray< Arcane::ICaseOptions * >, Arccore::AbstractArray< Arcane::ICaseOptionList * >, Arccore::AbstractArray< Arccore::String >, Arccore::AbstractArray< Arccore::ReferenceCounter< Arcane::ICaseOptions > >, Arccore::AbstractArray< InterfaceType * >, Arccore::AbstractArray< Arccore::Ref< InterfaceType > >, Arccore::AbstractArray< Arcane::IDataCompressor * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IDataCompressor > >, Arccore::AbstractArray< Arcane::ICaseMeshService * >, Arccore::AbstractArray< Arccore::Ref< Arcane::ICaseMeshService > >, Arccore::AbstractArray< Arcane::IMeshBuilder * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IMeshBuilder > >, Arccore::AbstractArray< Arcane::ICaseMeshReader * >, Arccore::AbstractArray< Arccore::Ref< Arcane::ICaseMeshReader > >, Arccore::AbstractArray< Arcane::IMeshSubdivider * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IMeshSubdivider > >, Arccore::AbstractArray< Arcane::ItemGroup >, Arccore::AbstractArray< Arcane::IDirectExecution * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IDirectExecution > >, Arccore::AbstractArray< Arcane::IMeshPartitioner * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IMeshPartitioner > >, Arccore::AbstractArray< Arcane::ITimeLoopService * >, Arccore::AbstractArray< Arccore::Ref< Arcane::ITimeLoopService > >, Arccore::AbstractArray< Arcane::IUnitTest * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IUnitTest > >, Arccore::AbstractArray< Arcane::IXmlUnitTest * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IXmlUnitTest > >, Arccore::AbstractArray< Arcane::SmallVariant >, Arccore::AbstractArray< SmallVariant >, Arccore::AbstractArray< Arcane::impl::CartesianItemDirectionInfo >, Arccore::AbstractArray< Arcane::StoreIProxyItemVariable >, Arccore::AbstractArray< Arcane::VariableSyncInfo >, Arccore::AbstractArray< Arcane::DependencyInjection::Injector::Impl::InstanceInfo >, Arccore::AbstractArray< Arccore::Ref< Arcane::DependencyInjection::impl::IInstanceFactory > >, Arccore::AbstractArray< GroupPartInfo * >, Arccore::AbstractArray< Arcane::Item >, Arccore::AbstractArray< Arcane::DumpWEnsight7::EnsightPart >, Arccore::AbstractArray< Arccore::Ref< Arcane::OStringStream > >, Arccore::AbstractArray< Arcane::Cell >, Arccore::AbstractArray< Arcane::EventObserverBase * >, Arccore::AbstractArray< Arcane::IExtraGhostItemsBuilder * >, Arccore::AbstractArray< Arcane::Node >, Arccore::AbstractArray< Arcane::Face >, Arccore::AbstractArray< bool >, Arccore::AbstractArray< Arccore::SharedArray >, Arccore::AbstractArray< KeyTypeValue >, Arccore::AbstractArray< Arcane::HashTableBaseT::HashData * >, Arccore::AbstractArray< Arccore::UniqueArray * >, Arccore::AbstractArray< Arcane::HashTableMapT::Data * >, Arccore::AbstractArray< Arcane::Hdf5VariableReaderHelper * >, Arccore::AbstractArray< Arcane::Hdf5VariableInfoBase * >, Arccore::AbstractArray< Arcane::Hdf5VariableReaderHelper::TimeVariableInfoBase * >, Arccore::AbstractArray< Arcane::Hdf5VariableReaderHelper2::TimeVariableInfoBase * >, Arccore::AbstractArray< TimePathPair >, Arccore::AbstractArray< Arcane::Hdf5VariableWriterHelper * >, Arccore::AbstractArray< Real3 >, Arccore::AbstractArray< Arcane::IAlephVector * >, Arccore::AbstractArray< Arcane::IAlephMatrix * >, Arccore::AbstractArray< Arccore::ReferenceCounter< Arcane::Internal::IServiceFactory2 > >, Arccore::AbstractArray< Arcane::ItemAllocationInfo::FamilyInfo >, Arccore::AbstractArray< Arcane::ItemAllocationInfo::ConnectedFamilyInfo >, Arccore::AbstractArray< Arcane::ItemInternal * >, Arccore::AbstractArray< std::set< Int64 > >, Arccore::AbstractArray< Arcane::IItemFamilySerializeStepFactory * >, Arccore::AbstractArray< Arcane::ItemGroupImpl * >, Arccore::AbstractArray< Arccore::UniqueArray< Int32 > >, Arccore::AbstractArray< Arccore::SharedArray< Int64 > >, Arccore::AbstractArray< Arcane::ItemTypeInfo * >, Arccore::AbstractArray< Arcane::LegacyMeshBuilder::MeshBuildInfo >, Arccore::AbstractArray< String >, Arccore::AbstractArray< Arcane::LinkFamilyInternal::LinkData >, Arccore::AbstractArray< int >, Arccore::AbstractArray< Arcane::MEDMeshReader::MEDToArcaneItemInfo >, Arccore::AbstractArray< Arcane::MatVec::AMGLevel * >, Arccore::AbstractArray< Arccore::Span< Arcane::Materials::ComponentItemLocalId > >, Arccore::AbstractArray< Arcane::Materials::ComponentItemLocalId >, Arccore::AbstractArray< Int16 >, Arccore::AbstractArray< Arcane::Materials::ComponentItemSharedInfo >, Arccore::AbstractArray< Arcane::Materials::ConstituentItemIndex >, Arccore::AbstractArray< Arcane::Materials::MatVarIndex >, Arccore::AbstractArray< Arcane::Materials::CopyBetweenDataInfo >, Arccore::AbstractArray< Arcane::Materials::IMeshMaterial * >, Arccore::AbstractArray< Arcane::Materials::MeshMaterial * >, Arccore::AbstractArray< Arcane::Materials::MeshEnvironmentBuildInfo::MatInfo >, Arccore::AbstractArray< Arcane::Materials::IMeshMaterialVariable * >, Arccore::AbstractArray< Arcane::Materials::MeshMaterialInfo * >, Arccore::AbstractArray< Arcane::Materials::IMeshComponent * >, Arccore::AbstractArray< Arcane::Materials::IMeshEnvironment * >, Arccore::AbstractArray< Arcane::Materials::MeshEnvironment * >, Arccore::AbstractArray< Arcane::Materials::IMeshBlock * >, Arccore::AbstractArray< Arcane::MeshBlock * >, Arccore::AbstractArray< Arcane::Materials::MeshMaterialVariableIndexer * >, Arccore::AbstractArray< Arcane::Materials::AllCellToAllEnvCell >, Arccore::AbstractArray< Arcane::Materials::MaterialModifierOperation * >, Arccore::AbstractArray< Arccore::Span< std::byte > >, Arccore::AbstractArray< Arcane::VariableRef * >, Arccore::AbstractArray< Arcane::MeshMaterialVariableDependInfo >, Arccore::AbstractArray< Arcane::VariableDependInfo >, Arccore::AbstractArray< Arccore::UniqueArray< Arcane::Materials::MatVarIndex > >, Arccore::AbstractArray< Arcane::Materials::MeshMaterialVariable * >, Arccore::AbstractArray< Arcane::Materials::MultiBufferMeshMaterialSynchronizeBuffer::BufferInfo >, Arccore::AbstractArray< Arcane::Materials::OneBufferMeshMaterialSynchronizeBuffer::BufferInfo >, Arccore::AbstractArray< Arcane::ICaseMeshMasterService * >, Arccore::AbstractArray< Arccore::Ref< Arcane::ICaseMeshMasterService > >, Arccore::AbstractArray< Arcane::IMesh * >, Arccore::AbstractArray< Arcane::MeshHandle >, Arccore::AbstractArray< Arccore::SharedArray< Arcane::Cell > >, Arccore::AbstractArray< eMarkCellWithConstraint >, Arccore::AbstractArray< Arccore::Ref< Arcane::IMeshReader > >, Arccore::AbstractArray< Arccore::UniqueArray< Arcane::MessagePassing::HybridParallelMng * > >, Arccore::AbstractArray< Arccore::MessagePassing::ISerializeMessage * >, Arccore::AbstractArray< Arcane::MessagePassing::SharedMemoryMessageQueue::SubQueue * >, Arccore::AbstractArray< Arcane::MessagePassing::SharedMemoryMessageRequest * >, Arccore::AbstractArray< Arccore::UniqueArray< Type > >, Arccore::AbstractArray< Arcane::MessagePassing::SharedMemoryParallelDispatch< DataType > * >, Arccore::AbstractArray< Arcane::MessagePassing::SharedMemoryParallelDispatchBase * >, Arccore::AbstractArray< idx_t >, Arccore::AbstractArray< MPI_Request >, Arccore::AbstractArray< MPI_Datatype >, Arccore::AbstractArray< Arcane::Real3 >, Arccore::AbstractArray< Arcane::MshMeshReader::MeshV4EntitiesNodes >, Arccore::AbstractArray< Arcane::MshMeshReader::MeshV4EntitiesWithNodes >, Arccore::AbstractArray< Arcane::MshMeshReader::MeshV4ElementsBlock >, Arccore::AbstractArray< Arccore::UniqueArray< Arcane::MshMeshReader::MeshPhysicalName > >, Arccore::AbstractArray< Arcane::MshMeshReader::MeshPhysicalName >, Arccore::AbstractArray< Arcane::MshParallelMeshReader::MeshV4EntitiesNodes >, Arccore::AbstractArray< Arcane::MshParallelMeshReader::MeshV4ElementsBlock >, Arccore::AbstractArray< Arccore::UniqueArray< MutableMemoryView > >, Arccore::AbstractArray< Arcane::NodeDirectionMng::ItemDirectionInfo >, Arccore::AbstractArray< Arcane::IObserver * >, Arccore::AbstractArray< Arcane::IAlephTopology * >, Arccore::AbstractArray< long_long >, Arccore::AbstractArray< KeyType >, Arccore::AbstractArray< Arccore::SharedArray< Arcane::ItemLocalId > >, Arccore::AbstractArray< Arcane::ItemLocalId >, Arccore::AbstractArray< Arccore::SharedArray< Int32 > >, Arccore::AbstractArray< Arcane::SerializeMessage * >, Arccore::AbstractArray< Arcane::ParameterList::Impl::NameValuePair >, Arccore::AbstractArray< Arcane::IPropertyType * >, Arccore::AbstractArray< Arcane::IServiceFactoryInfo * >, Arccore::AbstractArray< Arcane::ModuleFactoryReference >, Arccore::AbstractArray< Arccore::UniqueArray< Real > >, Arccore::AbstractArray< Arcane::TBBTaskImplementation::TaskThreadInfo >, Arccore::AbstractArray< Arcane::TiedNode >, Arccore::AbstractArray< Arcane::TiedFace >, Arccore::AbstractArray< Arcane::TiedInterfaceExchanger::OneSubDomainInfo * >, Arccore::AbstractArray< Arcane::TiedInterface * >, Arccore::AbstractArray< Arcane::IMeshPartitionerBase * >, Arccore::AbstractArray< Arccore::ConstArrayView >, Arccore::AbstractArray< Arccore::SharedArray< Real > >, Arccore::AbstractArray< Arcane::UnitTestServiceAdapter::TestFuncInfo >, Arccore::AbstractArray< Arcane::VariableDiff::DiffInfo >, Arccore::AbstractArray< Arcane::VariableReaderMng::VarReadInfo >, Arccore::AbstractArray< Arcane::INumericDataInternal * >, Arccore::AbstractArray< CompareStatus >, Arccore::AbstractArray< unsigned char >, Arccore::AbstractArray< MeshVariableScalarRefT< Cell, Real3 > * >, Arccore::AbstractArray< Arccore::Ref< Arcane::impl::IGenericReader > >, Arccore::AbstractArray< Arcane::mesh::DynamicMesh * >, Arccore::AbstractArray< Arcane::mesh::ItemFamily * >, Arccore::AbstractArray< Arcane::IItemFamilyModifier * >, Arccore::AbstractArray< Arcane::IExtraGhostCellsBuilder * >, Arccore::AbstractArray< Arcane::IExtraGhostParticlesBuilder * >, Arccore::AbstractArray< Arcane::ItemUniqueId >, Arccore::AbstractArray< Arcane::mesh::IncrementalItemConnectivity * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IIncrementalItemSourceConnectivity > >, Arccore::AbstractArray< Arccore::Ref< Arcane::IIncrementalItemTargetConnectivity > >, Arccore::AbstractArray< Arcane::mesh::ItemConnectivitySelector * >, Arccore::AbstractArray< Arcane::IGraph2 * >, Arccore::AbstractArray< Arcane::mesh::ItemInfoMultiList::MyInfo >, Arccore::AbstractArray< Arcane::mesh::ItemSharedInfoWithType * >, Arccore::AbstractArray< Arcane::ItemGroupsSerializer2 * >, Arccore::AbstractArray< Arcane::IItemFamilySerializeStep * >, Arccore::AbstractArray< ItemDestRankMap >, Arccore::AbstractArray< Real2 >, Arccore::AbstractArray< Arcane::mesh::TiedInterfaceFace * >, Arccore::AbstractArray< Arcane::MeshVariableScalarRefT * >, Arccore::AbstractArray< Arcane::AlephVector * >, Arccore::AbstractArray< AlephTestScheme * >, Arccore::AbstractArray< Arccore::Ref< AlephTestScheme > >, Arccore::AbstractArray< ArcaneTest::MaterialHeatTestModule::HeatObject >, Arccore::AbstractArray< Arcane::Materials::MeshMaterialVariableRef * >, Arccore::AbstractArray< MPI_Status >, Arccore::AbstractArray< Arccore::MessagePassing::Mpi::MpiSerializeDispatcher::SerializeSubRequest * >, Arccore::AbstractArray< Arccore::MessagePassing::internal::BasicSerializeMessage * >, Arccore::AbstractArray< Arccore::MessagePassing::Mpi::MpiSerializeMessageRequest >, Arccore::AbstractArray< Arccore::Ref< Arccore::MessagePassing::ISerializeMessage > >, Arccore::AbstractArray< BasicSerializeMessage * >, Arccore::AbstractArray< Arccore::MessagePassing::internal::SerializeMessageList::ProbeInfo >, Arccore::AbstractArray< Arcane::ICheckpointWriter * >, Arccore::AbstractArray< Arccore::Ref< Arcane::ICheckpointWriter > >, Arccore::AbstractArray< Arcane::IPostProcessorWriter * >, Arccore::AbstractArray< Arccore::Ref< Arcane::IPostProcessorWriter > >, Arccore::AbstractArray< ISerializeValue * >, et Arccore::AbstractArray< T >.

+ Graphe de collaboration de Arccore::AbstractArrayBase:

Fonctions membres publiques

IMemoryAllocatorallocator () const
 
MemoryAllocationOptions allocationOptions () const
 
void setDebugName (const String &name)
 Positionne le nom du tableau pour les informations de debug.
 
String debugName () const
 Nom de debug (nul si aucun nom spécifié)
 

Fonctions membres protégées

virtual bool _isUseOwnMetaData () const
 Indique si m_md fait référence à m_meta_data.
 
void _swapMetaData (AbstractArrayBase &rhs)
 
void _copyMetaData (const AbstractArrayBase &rhs)
 
void _allocateMetaData ()
 
void _deallocateMetaData (ArrayMetaData *md)
 
void _checkValidSharedArray ()
 

Fonctions membres protégées statiques

static constexpr RunQueue_nullRunQueue ()
 Méthode explicite pour une RunQueue nulle.
 

Attributs protégés

ArrayMetaDatam_md = nullptr
 
ArrayMetaData m_meta_data
 

Fonctions membres privées

void _checkSetUseOwnMetaData ()
 

Description détaillée

Classe de base interne pour les tableaux.

Cette classe gère uniquement les meta-données pour les tableaux comme le nombre d'éléments ou la capacité.

m_md est un pointeur contenant les meta-donné du tableau. Si le tableau est partagé (SharedArray, SharedArray2), alors ce pointeur est alloué dynamiquement et dans ce cas _isUseOwnMetaData() doit retourner false. Si le tableau n'est pas partagé (UniqueArray ou UniqueArray2), alors les meta-données sont conservées directement dans l'instance du tableau pour éviter des allocations inutiles et m_md pointe alors vers m_meta_data. Dans tous les cas, il ne faut pas utiliser m_meta_data directement, mais toujours passer par m_md.

Définition à la ligne 156 du fichier arccore/src/collections/arccore/collections/Array.h.

Documentation des constructeurs et destructeur

◆ AbstractArrayBase()

Arccore::AbstractArrayBase::AbstractArrayBase ( )
inline

Définition à la ligne 160 du fichier arccore/src/collections/arccore/collections/Array.h.

Documentation des fonctions membres

◆ _allocateMetaData()

void Arccore::AbstractArrayBase::_allocateMetaData ( )
inlineprotected

Définition à la ligne 226 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ _checkSetUseOwnMetaData()

void Arccore::AbstractArrayBase::_checkSetUseOwnMetaData ( )
inlineprivate

Définition à la ligne 261 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ _checkValidSharedArray()

void Arccore::AbstractArrayBase::_checkValidSharedArray ( )
inlineprotected

Définition à la ligne 251 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ _copyMetaData()

void Arccore::AbstractArrayBase::_copyMetaData ( const AbstractArrayBase rhs)
inlineprotected

Définition à la ligne 216 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ _deallocateMetaData()

void Arccore::AbstractArrayBase::_deallocateMetaData ( ArrayMetaData md)
inlineprotected

Définition à la ligne 243 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ _isUseOwnMetaData()

◆ _nullRunQueue()

static constexpr RunQueue * Arccore::AbstractArrayBase::_nullRunQueue ( )
inlinestaticconstexprprotected

◆ _swapMetaData()

void Arccore::AbstractArrayBase::_swapMetaData ( AbstractArrayBase rhs)
inlineprotected

Définition à la ligne 208 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ allocationOptions()

MemoryAllocationOptions Arccore::AbstractArrayBase::allocationOptions ( ) const
inline

Définition à la ligne 172 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ allocator()

IMemoryAllocator * Arccore::AbstractArrayBase::allocator ( ) const
inline

Définition à la ligne 168 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ debugName()

String Arccore::AbstractArrayBase::debugName ( ) const

Nom de debug (nul si aucun nom spécifié)

Définition à la ligne 274 du fichier arccore/src/collections/arccore/collections/Array.cc.

Références Arccore::ArrayMetaData::allocation_options.

Référencé par Arcane::NumArray< DataType, Extents, LayoutPolicy >::debugName().

◆ setDebugName()

void Arccore::AbstractArrayBase::setDebugName ( const String name)

Positionne le nom du tableau pour les informations de debug.

Ce nom peut être utilisé par exemple pour les affichages listing.

Définition à la ligne 265 du fichier arccore/src/collections/arccore/collections/Array.cc.

Références Arccore::ArrayMetaData::allocation_options.

Référencé par Arcane::NumArray< DataType, Extents, LayoutPolicy >::setDebugName(), et Arcane::ArrayDataT< DataType >::setName().

Documentation des données membres

◆ m_md

ArrayMetaData* Arccore::AbstractArrayBase::m_md = nullptr
protected

Définition à la ligne 187 du fichier arccore/src/collections/arccore/collections/Array.h.

◆ m_meta_data

ArrayMetaData Arccore::AbstractArrayBase::m_meta_data
protected

Définition à la ligne 188 du fichier arccore/src/collections/arccore/collections/Array.h.


La documentation de cette classe a été générée à partir des fichiers suivants :