Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Materials::MeshEnvironmentBuildInfo Class Reference

Information for creating an environment. More...

#include <arcane/materials/MeshEnvironmentBuildInfo.h>

Collaboration diagram for Arcane::Materials::MeshEnvironmentBuildInfo:

Classes

class  MatInfo

Public Member Functions

 MeshEnvironmentBuildInfo (const String &name)
const Stringname () const
 Name of the environment.
void addMaterial (const String &name)
 Adds the material named name to the environment.
ConstArrayView< MatInfomaterials () const

Private Member Functions

void _checkValid (const String &name)

Private Attributes

String m_name
UniqueArray< MatInfom_materials

Detailed Description

Information for creating an environment.

This instance contains the necessary information to create an environment. Once the information is specified, the environment must be created via IMeshMaterialMng::createEnvironment().

For now, the only relevant information about an environment is its name and the list of materials composing it.

Definition at line 41 of file MeshEnvironmentBuildInfo.h.

Constructor & Destructor Documentation

◆ MeshEnvironmentBuildInfo()

Arcane::Materials::MeshEnvironmentBuildInfo::MeshEnvironmentBuildInfo ( const String & name)

Definition at line 28 of file MeshEnvironmentBuildInfo.cc.

◆ ~MeshEnvironmentBuildInfo()

Arcane::Materials::MeshEnvironmentBuildInfo::~MeshEnvironmentBuildInfo ( )

Definition at line 37 of file MeshEnvironmentBuildInfo.cc.

Member Function Documentation

◆ _checkValid()

void Arcane::Materials::MeshEnvironmentBuildInfo::_checkValid ( const String & name)
private

Definition at line 55 of file MeshEnvironmentBuildInfo.cc.

◆ addMaterial()

void Arcane::Materials::MeshEnvironmentBuildInfo::addMaterial ( const String & name)

Adds the material named name to the environment.

The material must already have been registered via IMeshMaterialMng::registerMaterialInfo().

Definition at line 45 of file MeshEnvironmentBuildInfo.cc.

References name().

Referenced by Arcane::Materials::MeshMaterialMng::recreateFromDump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ materials()

ConstArrayView< MatInfo > Arcane::Materials::MeshEnvironmentBuildInfo::materials ( ) const
inline

List of materials.

Definition at line 88 of file MeshEnvironmentBuildInfo.h.

Referenced by Arcane::Materials::MeshMaterialMng::createEnvironment().

Here is the caller graph for this function:

◆ name()

const String & Arcane::Materials::MeshEnvironmentBuildInfo::name ( ) const
inline

Name of the environment.

Definition at line 72 of file MeshEnvironmentBuildInfo.h.

Referenced by addMaterial(), and Arcane::Materials::MeshMaterialMng::createEnvironment().

Here is the caller graph for this function:

Member Data Documentation

◆ m_materials

UniqueArray<MatInfo> Arcane::Materials::MeshEnvironmentBuildInfo::m_materials
private

Definition at line 96 of file MeshEnvironmentBuildInfo.h.

◆ m_name

String Arcane::Materials::MeshEnvironmentBuildInfo::m_name
private

Definition at line 95 of file MeshEnvironmentBuildInfo.h.


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