MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Expected_MRCudaDeviceInfo_StdString Class Reference

Stores either a MR.Cuda.DeviceInfo that represents success or a std::string that represents an error. This is the non-const half of the class. More...

Inheritance diagram for MR.Expected_MRCudaDeviceInfo_StdString:

Public Member Functions

unsafe Expected_MRCudaDeviceInfo_StdString ()
 Constructs an empty (default-constructed) instance.
unsafe Expected_MRCudaDeviceInfo_StdString (MR._ByValue_Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
 Expected_MRCudaDeviceInfo_StdString (Const_Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
 Expected_MRCudaDeviceInfo_StdString (Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
unsafe void assign (MR._ByValue_Expected_MRCudaDeviceInfo_StdString other)
 Assigns the contents from another instance. Both objects remain alive after the call.
unsafe new MR.Cuda.? DeviceInfo value ()
 If this instance represents success, returns the stored MR.Cuda.DeviceInfo. Otherwise null. This version returns a mutable pointer.
unsafe new MR.Std.? String error ()
 If this instance represents an error, returns the stored std::string. Otherwise null. This version returns a mutable pointer.
Public Member Functions inherited from MR.Const_Expected_MRCudaDeviceInfo_StdString
virtual void Dispose ()
unsafe Const_Expected_MRCudaDeviceInfo_StdString ()
 Constructs an empty (default-constructed) instance.
unsafe Const_Expected_MRCudaDeviceInfo_StdString (MR._ByValue_Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
 Const_Expected_MRCudaDeviceInfo_StdString (Const_Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
 Const_Expected_MRCudaDeviceInfo_StdString (Expected_MRCudaDeviceInfo_StdString other)
 Constructs a copy of another instance. The source remains alive.
unsafe MR.Cuda.? Const_DeviceInfo value ()
 If this instance represents success, returns the stored MR.Cuda.DeviceInfo. Otherwise null.
unsafe MR.Std.? Const_String error ()
 If this instance represents an error, returns the stored std::string. Otherwise null.

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_Expected_MRCudaDeviceInfo_StdString
static unsafe implicit operator bool (MR.Const_Expected_MRCudaDeviceInfo_StdString _this)
 Returns true if this instance represents success, or false if it represents an error.
Protected Member Functions inherited from MR.Const_Expected_MRCudaDeviceInfo_StdString
virtual unsafe void Dispose (bool disposing)

Detailed Description

Stores either a MR.Cuda.DeviceInfo that represents success or a std::string that represents an error. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Expected_MRCudaDeviceInfo_StdString() [1/4]

unsafe MR.Expected_MRCudaDeviceInfo_StdString.Expected_MRCudaDeviceInfo_StdString ( )
inline

Constructs an empty (default-constructed) instance.

◆ Expected_MRCudaDeviceInfo_StdString() [2/4]

unsafe MR.Expected_MRCudaDeviceInfo_StdString.Expected_MRCudaDeviceInfo_StdString ( MR._ByValue_Expected_MRCudaDeviceInfo_StdString other)
inline

Constructs a copy of another instance. The source remains alive.

◆ Expected_MRCudaDeviceInfo_StdString() [3/4]

MR.Expected_MRCudaDeviceInfo_StdString.Expected_MRCudaDeviceInfo_StdString ( Const_Expected_MRCudaDeviceInfo_StdString other)
inline

Constructs a copy of another instance. The source remains alive.

◆ Expected_MRCudaDeviceInfo_StdString() [4/4]

MR.Expected_MRCudaDeviceInfo_StdString.Expected_MRCudaDeviceInfo_StdString ( Expected_MRCudaDeviceInfo_StdString other)
inline

Constructs a copy of another instance. The source remains alive.

Member Function Documentation

◆ assign()

unsafe void MR.Expected_MRCudaDeviceInfo_StdString.assign ( MR._ByValue_Expected_MRCudaDeviceInfo_StdString other)
inline

Assigns the contents from another instance. Both objects remain alive after the call.

◆ error()

unsafe new MR.Std.? String MR.Expected_MRCudaDeviceInfo_StdString.error ( )
inline

If this instance represents an error, returns the stored std::string. Otherwise null. This version returns a mutable pointer.

◆ value()

unsafe new MR.Cuda.? DeviceInfo MR.Expected_MRCudaDeviceInfo_StdString.value ( )
inline

If this instance represents success, returns the stored MR.Cuda.DeviceInfo. Otherwise null. This version returns a mutable pointer.


The documentation for this class was generated from the following file: