#include <MRCIOExtras/MRPdf.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
Typedefs | |
typedef struct MR_std_filesystem_path | MR_std_filesystem_path |
typedef struct MR_std_variant_MR_PdfBuildinFont_std_filesystem_path | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path |
typedef struct MR_std_filesystem_path MR_std_filesystem_path |
typedef struct MR_std_variant_MR_PdfBuildinFont_std_filesystem_path MR_std_variant_MR_PdfBuildinFont_std_filesystem_path |
Stores one of 2 objects: MR::PdfBuildinFont
, std::filesystem::path
. 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).
MRC_API void MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_AssignAs_MR_PdfBuildinFont | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this, |
MR_PdfBuildinFont | value ) |
Assigns to the variant, making it store the element 0, of type MR::PdfBuildinFont
. Parameter _this
can not be null. It is a single object.
MRC_API void MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_AssignAs_std_filesystem_path | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this, |
const char * | value, | ||
const char * | value_end ) |
Assigns to the variant, making it store the element 1, of type std::filesystem::path
. Parameter _this
can not be null. It is a single object. Parameter value
is a UTF-8 encoded filesystem path.
MRC_API void MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_AssignFromAnother | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this, |
MR_PassBy | other_pass_by, | ||
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | other ) |
Assigns the contents from another instance. Both objects remain alive after the call. Parameter _this
can not be null. It is a single object.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_ConstructAs_MR_PdfBuildinFont | ( | MR_PdfBuildinFont | value | ) |
Constructs the variant storing the element 0, of type MR::PdfBuildinFont
. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Destroy()
to free it when you're done using it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_ConstructAs_std_filesystem_path | ( | const char * | value, |
const char * | value_end ) |
Constructs the variant storing the element 1, of type std::filesystem::path
. Parameter value
is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Destroy()
to free it when you're done using it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_ConstructFromAnother | ( | MR_PassBy | other_pass_by, |
MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | other ) |
Constructs a copy of another instance. The source remains alive. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Destroy()
to free it when you're done using it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Destroy()
to free it when you're done using it.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_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_std_variant_MR_PdfBuildinFont_std_filesystem_path_DestroyArray()
. Use MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_OffsetMutablePtr()
and MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_OffsetPtr()
to access the array elements.
MRC_API void MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Destroy | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Destroys a heap-allocated instance of MR_std_variant_MR_PdfBuildinFont_std_filesystem_path
. Does nothing if the pointer is null.
MRC_API void MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_DestroyArray | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Destroys a heap-allocated array of MR_std_variant_MR_PdfBuildinFont_std_filesystem_path
. Does nothing if the pointer is null.
MRC_API const MR_PdfBuildinFont * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Get_MR_PdfBuildinFont | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Returns the element 0, of type MR::PdfBuildinFont
, read-only. If it's not the active element, returns null. Parameter _this
can not be null. It is a single object.
MRC_API const MR_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Get_std_filesystem_path | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Returns the element 1, of type std::filesystem::path
, read-only. If it's not the active element, returns null. Parameter _this
can not be null. It is a single object.
MRC_API MR_PdfBuildinFont * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_GetMutable_MR_PdfBuildinFont | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Returns the element 0, of type MR::PdfBuildinFont
, mutable. If it's not the active element, returns null. Parameter _this
can not be null. It is a single object.
MRC_API MR_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_GetMutable_std_filesystem_path | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Returns the element 1, of type std::filesystem::path
, mutable. If it's not the active element, returns null. Parameter _this
can not be null. It is a single object.
MRC_API size_t MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_Index | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | _this | ) |
Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception". Parameter _this
can not be null. It is a single object.
MRC_API MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_OffsetMutablePtr | ( | MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | 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 const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_OffsetPtr | ( | const MR_std_variant_MR_PdfBuildinFont_std_filesystem_path * | 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.