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...
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) |
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.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Constructs a copy of another instance. The source remains alive.
|
inline |
Constructs a copy of another instance. The source remains alive.
|
inline |
Constructs a copy of another instance. The source remains alive.
|
inline |
Assigns the contents from another instance. Both objects remain alive after the call.
|
inline |
If this instance represents an error, returns the stored std::string. Otherwise null. This version returns a mutable pointer.
|
inline |
If this instance represents success, returns the stored MR.Cuda.DeviceInfo. Otherwise null. This version returns a mutable pointer.