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

Info about a material of a mesh. More...

#include <arcane/materials/MeshMaterialInfo.h>

Collaboration diagram for Arcane::Materials::MeshMaterialInfo:

Public Member Functions

IMeshMaterialMngmaterialMng ()
 Associated manager.
String name () const
 Material name.
ConstArrayView< StringenvironmentsName () const
 Names of the environments in which this material is present.

Protected Member Functions

void _addEnvironment (const String &env_name)

Private Member Functions

 MeshMaterialInfo (IMeshMaterialMng *mng, const String &name)

Private Attributes

IMeshMaterialMngm_material_mng
String m_name
UniqueArray< Stringm_environments_name
 List of environments to which the material belongs.

Friends

class MeshMaterialMng

Detailed Description

Info about a material of a mesh.

This instance contains the information about a material. This information is static. Instances of this class should not be created directly. They are created via the call to IMeshMaterialMng::registerMaterialInfo().

Definition at line 38 of file MeshMaterialInfo.h.

Constructor & Destructor Documentation

◆ MeshMaterialInfo()

Arcane::Materials::MeshMaterialInfo::MeshMaterialInfo ( IMeshMaterialMng * mng,
const String & name )
private

Definition at line 30 of file MeshMaterialInfo.cc.

Member Function Documentation

◆ _addEnvironment()

void Arcane::Materials::MeshMaterialInfo::_addEnvironment ( const String & env_name)
inlineprotected

Definition at line 60 of file MeshMaterialInfo.h.

◆ environmentsName()

ConstArrayView< String > Arcane::Materials::MeshMaterialInfo::environmentsName ( ) const
inline

Names of the environments in which this material is present.

Definition at line 56 of file MeshMaterialInfo.h.

References m_environments_name.

◆ materialMng()

IMeshMaterialMng * Arcane::Materials::MeshMaterialInfo::materialMng ( )
inline

Associated manager.

Definition at line 50 of file MeshMaterialInfo.h.

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

Here is the caller graph for this function:

◆ name()

String Arcane::Materials::MeshMaterialInfo::name ( ) const
inline

Material name.

Definition at line 53 of file MeshMaterialInfo.h.

◆ MeshMaterialMng

friend class MeshMaterialMng
friend

Definition at line 40 of file MeshMaterialInfo.h.

Member Data Documentation

◆ m_environments_name

UniqueArray<String> Arcane::Materials::MeshMaterialInfo::m_environments_name
private

List of environments to which the material belongs.

Definition at line 70 of file MeshMaterialInfo.h.

Referenced by environmentsName().

◆ m_material_mng

IMeshMaterialMng* Arcane::Materials::MeshMaterialInfo::m_material_mng
private

Definition at line 67 of file MeshMaterialInfo.h.

◆ m_name

String Arcane::Materials::MeshMaterialInfo::m_name
private

Definition at line 68 of file MeshMaterialInfo.h.


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