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

Go to the source code of this file.

Typedefs

typedef struct MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref
 
typedef struct MR_std_function_void_from_const_MR_Features_SubfeatureInfo_ref MR_std_function_void_from_const_MR_Features_SubfeatureInfo_ref
 
typedef struct MR_std_string_view MR_std_string_view
 
typedef struct MR_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane MR_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane
 
typedef struct MR_Features_SubfeatureInfo MR_Features_SubfeatureInfo
 Generated from class MR::Features::SubfeatureInfo.
 

Functions

MRC_API const MR_std_string_viewMR_Features_SubfeatureInfo_Get_name (const MR_Features_SubfeatureInfo *_this)
 
MRC_API void MR_Features_SubfeatureInfo_Set_name (MR_Features_SubfeatureInfo *_this, const char *value, const char *value_end)
 
MRC_API MR_std_string_viewMR_Features_SubfeatureInfo_GetMutable_name (MR_Features_SubfeatureInfo *_this)
 
MRC_API const bool * MR_Features_SubfeatureInfo_Get_isInfinite (const MR_Features_SubfeatureInfo *_this)
 
MRC_API void MR_Features_SubfeatureInfo_Set_isInfinite (MR_Features_SubfeatureInfo *_this, bool value)
 
MRC_API bool * MR_Features_SubfeatureInfo_GetMutable_isInfinite (MR_Features_SubfeatureInfo *_this)
 
MRC_API const MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_refMR_Features_SubfeatureInfo_Get_create (const MR_Features_SubfeatureInfo *_this)
 
MRC_API void MR_Features_SubfeatureInfo_Set_create (MR_Features_SubfeatureInfo *_this, MR_PassBy value_pass_by, MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref *value)
 
MRC_API MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_refMR_Features_SubfeatureInfo_GetMutable_create (MR_Features_SubfeatureInfo *_this)
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_DefaultConstruct (void)
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_ConstructFrom (const char *name, const char *name_end, bool isInfinite, MR_PassBy create_pass_by, MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref *create)
 
MRC_API const MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_OffsetPtr (const MR_Features_SubfeatureInfo *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.
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_OffsetMutablePtr (MR_Features_SubfeatureInfo *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.
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_ConstructFromAnother (MR_PassBy _other_pass_by, MR_Features_SubfeatureInfo *_other)
 
MRC_API void MR_Features_SubfeatureInfo_Destroy (const MR_Features_SubfeatureInfo *_this)
 Destroys a heap-allocated instance of MR_Features_SubfeatureInfo. Does nothing if the pointer is null.
 
MRC_API void MR_Features_SubfeatureInfo_DestroyArray (const MR_Features_SubfeatureInfo *_this)
 Destroys a heap-allocated array of MR_Features_SubfeatureInfo. Does nothing if the pointer is null.
 
MRC_API MR_Features_SubfeatureInfoMR_Features_SubfeatureInfo_AssignFromAnother (MR_Features_SubfeatureInfo *_this, MR_PassBy _other_pass_by, MR_Features_SubfeatureInfo *_other)
 
MRC_API void MR_Features_forEachSubfeature (const MR_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane *feature, const MR_std_function_void_from_const_MR_Features_SubfeatureInfo_ref *func)
 

Typedef Documentation

◆ MR_Features_SubfeatureInfo

◆ MR_std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref

◆ MR_std_function_void_from_const_MR_Features_SubfeatureInfo_ref

◆ MR_std_string_view

◆ MR_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane

Function Documentation

◆ MR_Features_forEachSubfeature()

Generated from function MR::Features::forEachSubfeature. Parameter feature can not be null. It is a single object. Parameter func can not be null. It is a single object.

◆ MR_Features_SubfeatureInfo_AssignFromAnother()

MRC_API MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_AssignFromAnother ( MR_Features_SubfeatureInfo * _this,
MR_PassBy _other_pass_by,
MR_Features_SubfeatureInfo * _other )

Generated from a method of class MR::Features::SubfeatureInfo named operator=. 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.

◆ MR_Features_SubfeatureInfo_ConstructFrom()

Constructs MR::Features::SubfeatureInfo elementwise. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_Features_SubfeatureInfo_Destroy() to free it when you're done using it.

◆ MR_Features_SubfeatureInfo_ConstructFromAnother()

MRC_API MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_Features_SubfeatureInfo * _other )

Generated from a constructor of class MR::Features::SubfeatureInfo. Never returns null. Returns an instance allocated on the heap! Must call MR_Features_SubfeatureInfo_Destroy() to free it when you're done using it.

◆ MR_Features_SubfeatureInfo_DefaultConstruct()

MRC_API MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_DefaultConstruct ( void )

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

◆ MR_Features_SubfeatureInfo_DefaultConstructArray()

MRC_API MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_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_Features_SubfeatureInfo_DestroyArray(). Use MR_Features_SubfeatureInfo_OffsetMutablePtr() and MR_Features_SubfeatureInfo_OffsetPtr() to access the array elements.

◆ MR_Features_SubfeatureInfo_Destroy()

MRC_API void MR_Features_SubfeatureInfo_Destroy ( const MR_Features_SubfeatureInfo * _this)

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

◆ MR_Features_SubfeatureInfo_DestroyArray()

MRC_API void MR_Features_SubfeatureInfo_DestroyArray ( const MR_Features_SubfeatureInfo * _this)

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

◆ MR_Features_SubfeatureInfo_Get_create()

Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named create. 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.

◆ MR_Features_SubfeatureInfo_Get_isInfinite()

MRC_API const bool * MR_Features_SubfeatureInfo_Get_isInfinite ( const MR_Features_SubfeatureInfo * _this)

Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite. 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.

◆ MR_Features_SubfeatureInfo_Get_name()

MRC_API const MR_std_string_view * MR_Features_SubfeatureInfo_Get_name ( const MR_Features_SubfeatureInfo * _this)

Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named name. 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.

◆ MR_Features_SubfeatureInfo_GetMutable_create()

Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named create. 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.

◆ MR_Features_SubfeatureInfo_GetMutable_isInfinite()

MRC_API bool * MR_Features_SubfeatureInfo_GetMutable_isInfinite ( MR_Features_SubfeatureInfo * _this)

Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite. 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.

◆ MR_Features_SubfeatureInfo_GetMutable_name()

MRC_API MR_std_string_view * MR_Features_SubfeatureInfo_GetMutable_name ( MR_Features_SubfeatureInfo * _this)

Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named name. 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.

◆ MR_Features_SubfeatureInfo_OffsetMutablePtr()

MRC_API MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_OffsetMutablePtr ( MR_Features_SubfeatureInfo * 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.

◆ MR_Features_SubfeatureInfo_OffsetPtr()

MRC_API const MR_Features_SubfeatureInfo * MR_Features_SubfeatureInfo_OffsetPtr ( const MR_Features_SubfeatureInfo * 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.

◆ MR_Features_SubfeatureInfo_Set_create()

Modifies a member variable of class MR::Features::SubfeatureInfo named create. Parameter _this can not be null. It is a single object.

◆ MR_Features_SubfeatureInfo_Set_isInfinite()

MRC_API void MR_Features_SubfeatureInfo_Set_isInfinite ( MR_Features_SubfeatureInfo * _this,
bool value )

Modifies a member variable of class MR::Features::SubfeatureInfo named isInfinite. Parameter _this can not be null. It is a single object.

◆ MR_Features_SubfeatureInfo_Set_name()

MRC_API void MR_Features_SubfeatureInfo_Set_name ( MR_Features_SubfeatureInfo * _this,
const char * value,
const char * value_end )

Modifies a member variable of class MR::Features::SubfeatureInfo named name. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated.