MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_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 const half of the class. More...

Inheritance diagram for MR.Const_Expected_MRCudaDeviceInfo_StdString:

Classes

struct  _Underlying

Public Member Functions

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.

Static Public Member Functions

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

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 const half of the class.

Constructor & Destructor Documentation

◆ Const_Expected_MRCudaDeviceInfo_StdString() [1/4]

unsafe MR.Const_Expected_MRCudaDeviceInfo_StdString.Const_Expected_MRCudaDeviceInfo_StdString ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_Expected_MRCudaDeviceInfo_StdString() [2/4]

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

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

◆ Const_Expected_MRCudaDeviceInfo_StdString() [3/4]

MR.Const_Expected_MRCudaDeviceInfo_StdString.Const_Expected_MRCudaDeviceInfo_StdString ( Const_Expected_MRCudaDeviceInfo_StdString other)
inline

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

◆ Const_Expected_MRCudaDeviceInfo_StdString() [4/4]

MR.Const_Expected_MRCudaDeviceInfo_StdString.Const_Expected_MRCudaDeviceInfo_StdString ( Expected_MRCudaDeviceInfo_StdString other)
inline

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_Expected_MRCudaDeviceInfo_StdString.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Expected_MRCudaDeviceInfo_StdString.Dispose ( bool disposing)
inlineprotectedvirtual

◆ error()

unsafe MR.Std.? Const_String MR.Const_Expected_MRCudaDeviceInfo_StdString.error ( )
inline

If this instance represents an error, returns the stored std::string. Otherwise null.

◆ operator bool()

unsafe implicit MR.Const_Expected_MRCudaDeviceInfo_StdString.operator bool ( MR.Const_Expected_MRCudaDeviceInfo_StdString _this)
inlinestatic

Returns true if this instance represents success, or false if it represents an error.

◆ value()

unsafe MR.Cuda.? Const_DeviceInfo MR.Const_Expected_MRCudaDeviceInfo_StdString.value ( )
inline

If this instance represents success, returns the stored MR.Cuda.DeviceInfo. Otherwise null.


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