#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
|
MRC_API const MR_std_string * | MR_IOFilter_Get_name (const MR_IOFilter *_this) |
|
MRC_API void | MR_IOFilter_Set_name (MR_IOFilter *_this, const char *value, const char *value_end) |
|
MRC_API MR_std_string * | MR_IOFilter_GetMutable_name (MR_IOFilter *_this) |
|
MRC_API const MR_std_string * | MR_IOFilter_Get_extensions (const MR_IOFilter *_this) |
|
MRC_API void | MR_IOFilter_Set_extensions (MR_IOFilter *_this, const char *value, const char *value_end) |
|
MRC_API MR_std_string * | MR_IOFilter_GetMutable_extensions (MR_IOFilter *_this) |
|
MRC_API MR_IOFilter * | MR_IOFilter_DefaultConstruct (void) |
|
MRC_API MR_IOFilter * | MR_IOFilter_DefaultConstructArray (size_t num_elems) |
|
MRC_API const MR_IOFilter * | MR_IOFilter_OffsetPtr (const MR_IOFilter *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_IOFilter * | MR_IOFilter_OffsetMutablePtr (MR_IOFilter *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_IOFilter * | MR_IOFilter_ConstructFromAnother (MR_PassBy _other_pass_by, MR_IOFilter *_other) |
|
MRC_API MR_IOFilter * | MR_IOFilter_Construct (const char *_name, const char *_name_end, const char *_ext, const char *_ext_end) |
|
MRC_API void | MR_IOFilter_Destroy (const MR_IOFilter *_this) |
| Destroys a heap-allocated instance of MR_IOFilter . Does nothing if the pointer is null.
|
|
MRC_API void | MR_IOFilter_DestroyArray (const MR_IOFilter *_this) |
| Destroys a heap-allocated array of MR_IOFilter . Does nothing if the pointer is null.
|
|
MRC_API MR_IOFilter * | MR_IOFilter_AssignFromAnother (MR_IOFilter *_this, MR_PassBy _other_pass_by, MR_IOFilter *_other) |
|
MRC_API bool | MR_IOFilter_isSupportedExtension (const MR_IOFilter *_this, const MR_std_string *ext) |
|
MRC_API MR_std_vector_MR_IOFilter * | MR_bitor_std_vector_MR_IOFilter (const MR_std_vector_MR_IOFilter *a, const MR_std_vector_MR_IOFilter *b) |
|
MRC_API MR_std_optional_MR_IOFilter * | MR_findFilter (const MR_std_vector_MR_IOFilter *filters, const MR_std_string *extension) |
|
◆ MR_IOFilter
◆ MR_std_optional_MR_IOFilter
◆ MR_std_string
◆ MR_std_vector_MR_IOFilter
◆ MR_bitor_std_vector_MR_IOFilter()
returns union of input filters Generated from function MR::operator|
. Parameter a
can not be null. It is a single object. Parameter b
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_IOFilter_Destroy()
to free it when you're done using it.
◆ MR_findFilter()
find a corresponding filter for a given extension Generated from function MR::findFilter
. Parameter filters
can not be null. It is a single object. Parameter extension
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_IOFilter_Destroy()
to free it when you're done using it.
◆ MR_IOFilter_AssignFromAnother()
Generated from a method of class MR::IOFilter
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_IOFilter_Construct()
MRC_API MR_IOFilter * MR_IOFilter_Construct |
( |
const char * | _name, |
|
|
const char * | _name_end, |
|
|
const char * | _ext, |
|
|
const char * | _ext_end ) |
Generated from a constructor of class MR::IOFilter
. Parameter _name
can not be null. If _name_end
is null, then _name
is assumed to be null-terminated. Parameter _ext
can not be null. If _ext_end
is null, then _ext
is assumed to be null-terminated. Never returns null. Returns an instance allocated on the heap! Must call MR_IOFilter_Destroy()
to free it when you're done using it.
◆ MR_IOFilter_ConstructFromAnother()
Generated from a constructor of class MR::IOFilter
. Never returns null. Returns an instance allocated on the heap! Must call MR_IOFilter_Destroy()
to free it when you're done using it.
◆ MR_IOFilter_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_IOFilter_Destroy()
to free it when you're done using it.
◆ MR_IOFilter_DefaultConstructArray()
◆ MR_IOFilter_Destroy()
Destroys a heap-allocated instance of MR_IOFilter
. Does nothing if the pointer is null.
◆ MR_IOFilter_DestroyArray()
Destroys a heap-allocated array of MR_IOFilter
. Does nothing if the pointer is null.
◆ MR_IOFilter_Get_extensions()
Returns a pointer to a member variable of class MR::IOFilter
named extensions
. 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_IOFilter_Get_name()
Returns a pointer to a member variable of class MR::IOFilter
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_IOFilter_GetMutable_extensions()
Returns a mutable pointer to a member variable of class MR::IOFilter
named extensions
. 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_IOFilter_GetMutable_name()
Returns a mutable pointer to a member variable of class MR::IOFilter
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_IOFilter_isSupportedExtension()
Generated from a method of class MR::IOFilter
named isSupportedExtension
. Parameter _this
can not be null. It is a single object. Parameter ext
can not be null. It is a single object.
◆ MR_IOFilter_OffsetMutablePtr()
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_IOFilter_OffsetPtr()
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_IOFilter_Set_extensions()
MRC_API void MR_IOFilter_Set_extensions |
( |
MR_IOFilter * | _this, |
|
|
const char * | value, |
|
|
const char * | value_end ) |
Modifies a member variable of class MR::IOFilter
named extensions
. 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.
◆ MR_IOFilter_Set_name()
MRC_API void MR_IOFilter_Set_name |
( |
MR_IOFilter * | _this, |
|
|
const char * | value, |
|
|
const char * | value_end ) |
Modifies a member variable of class MR::IOFilter
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.