#include <MRCMesh/MRUnitInfo.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stddef.h>Go to the source code of this file.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_AssignFromAnother | ( | MR_ObjectSave_Settings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectSave_Settings * | _other ) |
Generated from method MR::ObjectSave::Settings::operator=. Parameter _this 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.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectSave_Settings * | _other ) |
Generated from constructor MR::ObjectSave::Settings::Settings. 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_ObjectSave_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectSave_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_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_ObjectSave_Settings_DestroyArray(). Use MR_ObjectSave_Settings_OffsetMutablePtr() and MR_ObjectSave_Settings_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectSave_Settings_Destroy | ( | const MR_ObjectSave_Settings * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectSave_Settings. Does nothing if the pointer is null.
| MRC_API void MR_ObjectSave_Settings_DestroyArray | ( | const MR_ObjectSave_Settings * | _this | ) |
Destroys a heap-allocated array of MR_ObjectSave_Settings. Does nothing if the pointer is null.
| MRC_API const MR_std_optional_MR_LengthUnit * MR_ObjectSave_Settings_Get_lengthUnit | ( | const MR_ObjectSave_Settings * | _this | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::ObjectSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_std_function_bool_from_float * MR_ObjectSave_Settings_Get_progress | ( | const MR_ObjectSave_Settings * | _this | ) |
to report loading progress and allow the user to cancel it Returns a pointer to a member variable of class MR::ObjectSave::Settings named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_optional_MR_LengthUnit * MR_ObjectSave_Settings_GetMutable_lengthUnit | ( | MR_ObjectSave_Settings * | _this | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a mutable pointer to a member variable of class MR::ObjectSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_bool_from_float * MR_ObjectSave_Settings_GetMutable_progress | ( | MR_ObjectSave_Settings * | _this | ) |
to report loading progress and allow the user to cancel it Returns a mutable pointer to a member variable of class MR::ObjectSave::Settings named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_MutableStaticDowncastFrom_MR_SceneSave_Settings | ( | MR_SceneSave_Settings * | object | ) |
Downcasts an instance of MR::SceneSave::Settings to a derived class MR::ObjectSave::Settings. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_SceneSave_Settings * MR_ObjectSave_Settings_MutableUpcastTo_MR_SceneSave_Settings | ( | MR_ObjectSave_Settings * | object | ) |
Upcasts an instance of MR::ObjectSave::Settings to its base class MR::SceneSave::Settings. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_OffsetMutablePtr | ( | MR_ObjectSave_Settings * | 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.
| MRC_API const MR_ObjectSave_Settings * MR_ObjectSave_Settings_OffsetPtr | ( | const MR_ObjectSave_Settings * | 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.
| MRC_API void MR_ObjectSave_Settings_Set_lengthUnit | ( | MR_ObjectSave_Settings * | _this, |
| const MR_LengthUnit * | value ) |
units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::ObjectSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. Parameter value is optional. To keep it empty, pass a null pointer. The reference to the parameter value might be preserved in this object in element lengthUnit. When this function is called, this object will drop object references it held previously in lengthUnit.
| MRC_API void MR_ObjectSave_Settings_Set_progress | ( | MR_ObjectSave_Settings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
to report loading progress and allow the user to cancel it Modifies a member variable of class MR::ObjectSave::Settings named progress. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element progress. When this function is called, this object will drop object references it held previously in progress.
| MRC_API const MR_ObjectSave_Settings * MR_ObjectSave_Settings_StaticDowncastFrom_MR_SceneSave_Settings | ( | const MR_SceneSave_Settings * | object | ) |
Downcasts an instance of MR::SceneSave::Settings to a derived class MR::ObjectSave::Settings. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_SceneSave_Settings * MR_ObjectSave_Settings_UpcastTo_MR_SceneSave_Settings | ( | const MR_ObjectSave_Settings * | object | ) |
Upcasts an instance of MR::ObjectSave::Settings to its base class MR::SceneSave::Settings. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_AssignFromAnother | ( | MR_SceneSave_Settings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_SceneSave_Settings * | _other ) |
Generated from method MR::SceneSave::Settings::operator=. Parameter _this 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.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_ConstructFrom | ( | const MR_LengthUnit * | lengthUnit, |
| MR_PassBy | progress_pass_by, | ||
| MR_std_function_bool_from_float * | progress ) |
Constructs MR::SceneSave::Settings elementwise. Parameter lengthUnit is optional. To keep it empty, pass a null pointer. The reference to the parameter lengthUnit might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SceneSave_Settings_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_SceneSave_Settings * | _other ) |
Generated from constructor MR::SceneSave::Settings::Settings. 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_SceneSave_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SceneSave_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_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_SceneSave_Settings_DestroyArray(). Use MR_SceneSave_Settings_OffsetMutablePtr() and MR_SceneSave_Settings_OffsetPtr() to access the array elements.
| MRC_API void MR_SceneSave_Settings_Destroy | ( | const MR_SceneSave_Settings * | _this | ) |
Destroys a heap-allocated instance of MR_SceneSave_Settings. Does nothing if the pointer is null.
| MRC_API void MR_SceneSave_Settings_DestroyArray | ( | const MR_SceneSave_Settings * | _this | ) |
Destroys a heap-allocated array of MR_SceneSave_Settings. Does nothing if the pointer is null.
| MRC_API const MR_std_optional_MR_LengthUnit * MR_SceneSave_Settings_Get_lengthUnit | ( | const MR_SceneSave_Settings * | _this | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::SceneSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_std_function_bool_from_float * MR_SceneSave_Settings_Get_progress | ( | const MR_SceneSave_Settings * | _this | ) |
to report loading progress and allow the user to cancel it Returns a pointer to a member variable of class MR::SceneSave::Settings named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_optional_MR_LengthUnit * MR_SceneSave_Settings_GetMutable_lengthUnit | ( | MR_SceneSave_Settings * | _this | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a mutable pointer to a member variable of class MR::SceneSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_bool_from_float * MR_SceneSave_Settings_GetMutable_progress | ( | MR_SceneSave_Settings * | _this | ) |
to report loading progress and allow the user to cancel it Returns a mutable pointer to a member variable of class MR::SceneSave::Settings named progress. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_OffsetMutablePtr | ( | MR_SceneSave_Settings * | 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.
| MRC_API const MR_SceneSave_Settings * MR_SceneSave_Settings_OffsetPtr | ( | const MR_SceneSave_Settings * | 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.
| MRC_API void MR_SceneSave_Settings_Set_lengthUnit | ( | MR_SceneSave_Settings * | _this, |
| const MR_LengthUnit * | value ) |
units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::SceneSave::Settings named lengthUnit. Parameter _this can not be null. It is a single object. Parameter value is optional. To keep it empty, pass a null pointer. The reference to the parameter value might be preserved in this object in element lengthUnit. When this function is called, this object will drop object references it held previously in lengthUnit.
| MRC_API void MR_SceneSave_Settings_Set_progress | ( | MR_SceneSave_Settings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
to report loading progress and allow the user to cancel it Modifies a member variable of class MR::SceneSave::Settings named progress. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element progress. When this function is called, this object will drop object references it held previously in progress.