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

Stores either nothing (which 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_Void_StdString:

Public Member Functions

unsafe Expected_Void_StdString ()
 Constructs an empty (default-constructed) instance.
 
unsafe Expected_Void_StdString (MR._ByValue_Expected_Void_StdString other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe void assign (MR._ByValue_Expected_Void_StdString other)
 Assigns the contents from another instance. Both objects remain alive after the call.
 
unsafe new MR.Std.? String getError ()
 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_Void_StdString
virtual void Dispose ()
 
unsafe Const_Expected_Void_StdString ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_Expected_Void_StdString (MR._ByValue_Expected_Void_StdString other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe bool getValue ()
 Returns true if this instance stores nothing (which represents success).
 
unsafe MR.Std.? Const_String getError ()
 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_Void_StdString
static unsafe implicit operator bool (MR.Const_Expected_Void_StdString _this)
 Returns true if this instance represents success, or false if it represents an error.
 
- Protected Member Functions inherited from MR.Const_Expected_Void_StdString
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_Expected_Void_StdString >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_Expected_Void_StdString >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

Stores either nothing (which represents success) or a std.string that represents an error. This is the non-const half of the class.


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