12#ifndef ARCANE_CORE_MESHHANDLE_H
13#define ARCANE_CORE_MESHHANDLE_H
18#include "arccore/base/StringView.h"
19#include "arccore/base/String.h"
47class ARCANE_CORE_EXPORT MeshHandle
69 const String& meshName()
const {
return m_mesh_name; }
70 bool isNull()
const {
return m_is_null; }
71 IMesh* mesh()
const {
return m_mesh_ptr; }
72 IMeshBase* meshBase()
const {
return m_mesh_base_ptr; }
73 ISubDomain* subDomain()
const {
return m_sub_domain; }
74 IMeshMng* meshMng()
const {
return m_mesh_mng; }
75 ITraceMng* traceMng()
const {
return m_trace_mng; }
76 IVariableMng* variableMng()
const {
return m_variable_mng; }
77 IUserDataList* userDataList()
const {
return m_user_data_list; }
78 Observable* onDestroyObservable()
const {
return m_on_destroy_observable; }
79 bool isDoFatalInMeshMethod()
const {
return m_do_fatal_in_mesh_method; }
84 void _setMesh(
IMesh* mesh);
89 IMesh* m_mesh_ptr =
nullptr;
98 bool m_is_null =
true;
99 bool m_do_fatal_in_mesh_method =
false;
140 ARCCORE_DEPRECATED_2020(
"Do not use this method. Try to get ISubDomain from another way")
160 const String& meshName()
const {
return m_ref->meshName(); }
163 bool isNull()
const {
return m_ref->isNull(); }
Declarations of Arcane's general types.
Declarations of types used in Arcane.
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.
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).
void _setMesh(IMesh *mesh)
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.
IUserDataList * meshUserDataList() const
Associated user data.
IMesh * _internalMeshOrNull() const
Base class of an observable.
Thread-safe implementation of a reference counter.
Encapsulation of a pointer with a reference counter.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --