Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ModuleBuildInfo Class Reference

Information for building a module. More...

#include <arcane/core/ModuleBuildInfo.h>

Public Member Functions

 ModuleBuildInfo (ISubDomain *sd, IMesh *mesh, const String &name)
 Constructor from a subdomain, a mesh, and a module implementation name.
 ModuleBuildInfo (ISubDomain *sd, const MeshHandle &mesh_handle, const String &name)
 Constructor from a subdomain, a mesh, and a module implementation name.
 ModuleBuildInfo (ISubDomain *sd, const String &name)
 Constructor from a subdomain and a module implementation name.
virtual ~ModuleBuildInfo ()
 Destructor.
ISubDomainsubDomain () const
 Access to the associated subdomain.
const MeshHandlemeshHandle () const
 Access to the associated mesh.
const Stringname () const
 Name of the implementation sought.
IMeshmesh () const
 Access to the associated mesh.

Detailed Description

Information for building a module.

ModuleBuildInfo is usually used via BasicModule (basic module) and AbstractModule (any module) for the creation of different modules.

Definition at line 38 of file ModuleBuildInfo.h.

Constructor & Destructor Documentation

◆ ModuleBuildInfo() [1/3]

Arcane::ModuleBuildInfo::ModuleBuildInfo ( ISubDomain * sd,
IMesh * mesh,
const String & name )

Constructor from a subdomain, a mesh, and a module implementation name.

Deprecated
Use the overload that takes a MeshHandle instead.

Definition at line 29 of file ModuleBuildInfo.cc.

References mesh(), and name().

◆ ModuleBuildInfo() [2/3]

Arcane::ModuleBuildInfo::ModuleBuildInfo ( ISubDomain * sd,
const MeshHandle & mesh_handle,
const String & name )

Constructor from a subdomain, a mesh, and a module implementation name.

Definition at line 40 of file ModuleBuildInfo.cc.

References name().

◆ ModuleBuildInfo() [3/3]

Arcane::ModuleBuildInfo::ModuleBuildInfo ( ISubDomain * sd,
const String & name )

Constructor from a subdomain and a module implementation name.

The mesh considered is then the default mesh ISubDomain::defautMesh()

Definition at line 51 of file ModuleBuildInfo.cc.

References name().

◆ ~ModuleBuildInfo()

virtual Arcane::ModuleBuildInfo::~ModuleBuildInfo ( )
inlinevirtual

Destructor.

Definition at line 64 of file ModuleBuildInfo.h.

Member Function Documentation

◆ mesh()

IMesh * Arcane::ModuleBuildInfo::mesh ( ) const
inline

Access to the associated mesh.

The mesh does not always exist if the dataset has not been read yet.

Deprecated
You must use meshHandle() instead.

Definition at line 87 of file ModuleBuildInfo.h.

Referenced by ModuleBuildInfo().

◆ meshHandle()

const MeshHandle & Arcane::ModuleBuildInfo::meshHandle ( ) const
inline

Access to the associated mesh.

Definition at line 72 of file ModuleBuildInfo.h.

◆ name()

const String & Arcane::ModuleBuildInfo::name ( ) const
inline

Name of the implementation sought.

Definition at line 75 of file ModuleBuildInfo.h.

Referenced by ModuleBuildInfo(), ModuleBuildInfo(), and ModuleBuildInfo().

◆ subDomain()

ISubDomain * Arcane::ModuleBuildInfo::subDomain ( ) const
inline

Access to the associated subdomain.

Definition at line 69 of file ModuleBuildInfo.h.

Referenced by Arcane::ModuleMaster::ModuleMaster().


The documentation for this class was generated from the following files: