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

Information for creating an environment. More...

#include <arcane/materials/MeshEnvironmentBuildInfo.h>

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

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

◆ 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().

◆ materials()

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

Definition at line 88 of file MeshEnvironmentBuildInfo.h.

◆ name()

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

Name of the environment.

Definition at line 72 of file MeshEnvironmentBuildInfo.h.

Referenced by addMaterial().


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