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

Saving/restoring material and medium values. More...

#include <arcane/materials/MeshMaterialBackup.h>

Classes

struct  VarData

Public Member Functions

 MeshMaterialBackup (IMeshMaterialMng *mm, bool use_unique_ids)
void setCompressorServiceName (const String &name)
 Name of the service used to compress the data.
const StringcompressorServiceName () const
void saveValues ()
void restoreValues ()
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Saving/restoring material and medium values.

Instances of this class can only be used for a single save and a single restore.

It is possible to specify the name of a compression service for the data before saving via the setCompressorServiceName() method. If this method is not called, the default value is that of IMeshMaterialMng::dataCompressorServiceName().

Definition at line 49 of file MeshMaterialBackup.h.

Constructor & Destructor Documentation

◆ MeshMaterialBackup()

Arcane::Materials::MeshMaterialBackup::MeshMaterialBackup ( IMeshMaterialMng * mm,
bool use_unique_ids )

Definition at line 62 of file MeshMaterialBackup.cc.

◆ ~MeshMaterialBackup()

Arcane::Materials::MeshMaterialBackup::~MeshMaterialBackup ( )

Definition at line 74 of file MeshMaterialBackup.cc.

Member Function Documentation

◆ compressorServiceName()

const String & Arcane::Materials::MeshMaterialBackup::compressorServiceName ( ) const
inline

Definition at line 63 of file MeshMaterialBackup.h.

◆ restoreValues()

void Arcane::Materials::MeshMaterialBackup::restoreValues ( )

Definition at line 93 of file MeshMaterialBackup.cc.

◆ saveValues()

void Arcane::Materials::MeshMaterialBackup::saveValues ( )

Definition at line 84 of file MeshMaterialBackup.cc.

◆ setCompressorServiceName()

void Arcane::Materials::MeshMaterialBackup::setCompressorServiceName ( const String & name)

Name of the service used to compress the data.

Definition at line 102 of file MeshMaterialBackup.cc.


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