MeshLib C Docs
Loading...
Searching...
No Matches
MRExtraFormatSettings.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_MeshLoad_StepLoadSettings MR_MeshLoad_StepLoadSettings
typedef struct MR_ExtraFormatSettings MR_ExtraFormatSettings

Functions

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_DefaultConstruct (void)
MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_DefaultConstructArray (size_t num_elems)
MRC_API const MR_ExtraFormatSettings * MR_ExtraFormatSettings_OffsetPtr (const MR_ExtraFormatSettings *ptr, ptrdiff_t i)
MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_OffsetMutablePtr (MR_ExtraFormatSettings *ptr, ptrdiff_t i)
MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_ConstructFromAnother (const MR_ExtraFormatSettings *_other)
MRC_API void MR_ExtraFormatSettings_Destroy (const MR_ExtraFormatSettings *_this)
 Destroys a heap-allocated instance of MR_ExtraFormatSettings. Does nothing if the pointer is null.
MRC_API void MR_ExtraFormatSettings_DestroyArray (const MR_ExtraFormatSettings *_this)
 Destroys a heap-allocated array of MR_ExtraFormatSettings. Does nothing if the pointer is null.
MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_AssignFromAnother (MR_ExtraFormatSettings *_this, const MR_ExtraFormatSettings *_other)
MRC_API void MR_ExtraFormatSettings_reset (void)
MRC_API MR_MeshLoad_StepLoadSettings * MR_ExtraFormatSettings_getStepLoadSettings (void)
MRC_API void MR_ExtraFormatSettings_setStepLoadSettings (const MR_MeshLoad_StepLoadSettings *settings)

Typedef Documentation

◆ MR_ExtraFormatSettings

default settings of MRIOExtras formats, used when loading or saving via the format registry Generated from class MR::ExtraFormatSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_MeshLoad_StepLoadSettings

STEP-specific mesh load parameters Generated from class MR::MeshLoad::StepLoadSettings. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_ExtraFormatSettings_AssignFromAnother()

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_AssignFromAnother ( MR_ExtraFormatSettings * _this,
const MR_ExtraFormatSettings * _other )

Generated from method MR::ExtraFormatSettings::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_ExtraFormatSettings_ConstructFromAnother()

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_ConstructFromAnother ( const MR_ExtraFormatSettings * _other)

Generated from constructor MR::ExtraFormatSettings::ExtraFormatSettings. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ExtraFormatSettings_Destroy() to free it when you're done using it.

◆ MR_ExtraFormatSettings_DefaultConstruct()

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ExtraFormatSettings_Destroy() to free it when you're done using it.

◆ MR_ExtraFormatSettings_DefaultConstructArray()

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ExtraFormatSettings_DestroyArray(). Use MR_ExtraFormatSettings_OffsetMutablePtr() and MR_ExtraFormatSettings_OffsetPtr() to access the array elements.

◆ MR_ExtraFormatSettings_Destroy()

MRC_API void MR_ExtraFormatSettings_Destroy ( const MR_ExtraFormatSettings * _this)

Destroys a heap-allocated instance of MR_ExtraFormatSettings. Does nothing if the pointer is null.

◆ MR_ExtraFormatSettings_DestroyArray()

MRC_API void MR_ExtraFormatSettings_DestroyArray ( const MR_ExtraFormatSettings * _this)

Destroys a heap-allocated array of MR_ExtraFormatSettings. Does nothing if the pointer is null.

◆ MR_ExtraFormatSettings_getStepLoadSettings()

MRC_API MR_MeshLoad_StepLoadSettings * MR_ExtraFormatSettings_getStepLoadSettings ( void )

Generated from method MR::ExtraFormatSettings::getStepLoadSettings. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshLoad_StepLoadSettings_Destroy() to free it when you're done using it.

◆ MR_ExtraFormatSettings_OffsetMutablePtr()

MRC_API MR_ExtraFormatSettings * MR_ExtraFormatSettings_OffsetMutablePtr ( MR_ExtraFormatSettings * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ExtraFormatSettings_OffsetPtr()

MRC_API const MR_ExtraFormatSettings * MR_ExtraFormatSettings_OffsetPtr ( const MR_ExtraFormatSettings * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_ExtraFormatSettings_reset()

MRC_API void MR_ExtraFormatSettings_reset ( void )

resets all settings to default values Generated from method MR::ExtraFormatSettings::reset.

◆ MR_ExtraFormatSettings_setStepLoadSettings()

MRC_API void MR_ExtraFormatSettings_setStepLoadSettings ( const MR_MeshLoad_StepLoadSettings * settings)

Generated from method MR::ExtraFormatSettings::setStepLoadSettings. Parameter settings can not be null. It is a single object.