#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
◆ MR_expected_MR_FunctionVolume_std_string
Stores either a MR::FunctionVolume that represents success or a std::string that represents an error. 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_FunctionVolume
◆ MR_std_string
◆ MR_expected_MR_FunctionVolume_std_string_AssignFromAnother()
Assigns the contents from another instance. Both objects remain alive after the call. Parameter _this can not be null. It is a single object. The reference to the parameter other might be preserved in this object. When this function is called, this object will drop any object references it had previously.
◆ MR_expected_MR_FunctionVolume_std_string_ConstructFromAnother()
Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FunctionVolume_std_string_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
◆ MR_expected_MR_FunctionVolume_std_string_DefaultConstruct()
◆ MR_expected_MR_FunctionVolume_std_string_DefaultConstructArray()
◆ MR_expected_MR_FunctionVolume_std_string_Destroy()
Destroys a heap-allocated instance of MR_expected_MR_FunctionVolume_std_string. Does nothing if the pointer is null.
◆ MR_expected_MR_FunctionVolume_std_string_DestroyArray()
Destroys a heap-allocated array of MR_expected_MR_FunctionVolume_std_string. Does nothing if the pointer is null.
◆ MR_expected_MR_FunctionVolume_std_string_GetError()
If this instance represents an error, returns the stored std::string. Otherwise null. Parameter _this can not be null. It is a single object.
◆ MR_expected_MR_FunctionVolume_std_string_GetMutableError()
If this instance represents an error, returns the stored std::string. Otherwise null. This version returns a mutable pointer. Parameter _this can not be null. It is a single object.
◆ MR_expected_MR_FunctionVolume_std_string_GetMutableValue()
If this instance represents success, returns the stored MR::FunctionVolume. Otherwise null. This version returns a mutable pointer. Parameter _this can not be null. It is a single object.
◆ MR_expected_MR_FunctionVolume_std_string_GetValue()
If this instance represents success, returns the stored MR::FunctionVolume. Otherwise null. Parameter _this can not be null. It is a single object.
◆ MR_expected_MR_FunctionVolume_std_string_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. The reference to the parameter ptr might be preserved in the return value.
◆ MR_expected_MR_FunctionVolume_std_string_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. The reference to the parameter ptr might be preserved in the return value.
◆ MR_expected_MR_FunctionVolume_std_string_Success()
Returns true if this instance represents success, or false if it represents an error. Parameter _this can not be null. It is a single object.