12#ifndef ARCANE_CORE_MESHHANDLE_H
13#define ARCANE_CORE_MESHHANDLE_H
18#include "arccore/base/StringView.h"
19#include "arccore/base/String.h"
20#include "arccore/base/AutoRef2.h"
47class ARCANE_CORE_EXPORT MeshHandle
63 MeshHandle(
const MeshHandle&);
64 MeshHandle& operator=(
const MeshHandle&);
65 MeshHandle(MeshHandle&&)
noexcept;
66 MeshHandle& operator=(MeshHandle&&)
noexcept;
102 ARCCORE_DEPRECATED_2020(
"Do not use this method. Try to get ISubDomain from another way")
144 IMesh* _internalMeshOrNull()
const;
Declarations of Arcane's general types.
Declarations of types used in Arcane.
Encapsulation of a pointer with a reference counter.
Interface of an observable.
Interface of the subdomain manager.
Interface of a list that manages user data.
Variable manager interface.
IMesh * mesh() const
Associated mesh. Can be null if the mesh has not yet been created.
const MeshHandle & handle() const
Associated handle.
MeshHandleOrMesh(const MeshHandle &handle)
Constructs an instance from a MeshHandle.
ITraceMng * traceMng() const
Associated trace manager. nullptr if isNull() is true.
ISubDomain * subDomain() const
Associated sub-domain. Null if isNull() is true.
bool hasMesh() const
Indicates if the associated mesh has already been created (i.e.: mesh() is valid).
const void * reference() const
IMesh * meshOrNull() const
Returns the mesh associated with this instance.
bool isNull() const
Indicates if the handle is null (it does not reference any existing mesh or not).
IMesh * mesh() const
Associated mesh.
IApplication * application() const
Associated application. nullptr if isNull() is true.
IUserDataList * meshUserDataList() const
Associated user data.
IVariableMng * variableMng() const
Associated variable manager. nullptr if isNull() is true.
IMeshMng * meshMng() const
Associated mesh manager. nullptr if isNull() is true.
IObservable * onDestroyObservable() const
Observable to be notified of destruction.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --