Stores one of 5 objects: int, float, bool, std.string, MR.Pdf.Cell.Empty. This is the non-const half of the class.
More...
Inheritance diagram for MR.Std.Variant_Int_Float_Bool_StdString_MRPdfCellEmpty:Public Member Functions | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (MR.Std._ByValue_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty other) |
| Constructs a copy of another instance. The source remains alive. | |
| unsafe void | assign (MR.Std._ByValue_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty other) |
| Assigns the contents from another instance. Both objects remain alive after the call. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (int value, MR.Std.VariantIndex_0 tag=default) |
Constructs the variant storing the element 0, of type int. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (float value, MR.Std.VariantIndex_1 tag=default) |
Constructs the variant storing the element 1, of type float. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (bool value, MR.Std.VariantIndex_2 tag=default) |
Constructs the variant storing the element 2, of type bool. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (string value, MR.Std.VariantIndex_3 tag=default) |
Constructs the variant storing the element 3, of type std.string. | |
| unsafe | Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (MR.Pdf.Cell.Const_Empty value, MR.Std.VariantIndex_4 tag=default) |
Constructs the variant storing the element 4, of type MR.Pdf.Cell.Empty. | |
| unsafe void | assignAsInt (int value) |
Assigns to the variant, making it store the element 0, of type int. | |
| unsafe void | assignAsFloat (float value) |
Assigns to the variant, making it store the element 1, of type float. | |
| unsafe void | assignAsBool (bool value) |
Assigns to the variant, making it store the element 2, of type bool. | |
| unsafe void | assignAsStdString (string value) |
Assigns to the variant, making it store the element 3, of type std.string. | |
| unsafe void | assignAsMRPdfCellEmpty (MR.Pdf.Cell.Const_Empty value) |
Assigns to the variant, making it store the element 4, of type MR.Pdf.Cell.Empty. | |
| unsafe new MR.Misc.? Ref< int > | getInt () |
Returns the element 0, of type int, mutable. If it's not the active element, returns null. | |
| unsafe new MR.Misc.? Ref< float > | getFloat () |
Returns the element 1, of type float, mutable. If it's not the active element, returns null. | |
| unsafe new MR.Misc.? Ref< bool > | getBool () |
Returns the element 2, of type bool, mutable. If it's not the active element, returns null. | |
| unsafe new MR.Std.? String | getStdString () |
Returns the element 3, of type std.string, mutable. If it's not the active element, returns null. | |
| unsafe new MR.Pdf.Cell.? Empty | getMRPdfCellEmpty () |
Returns the element 4, of type MR.Pdf.Cell.Empty, mutable. If it's not the active element, returns null. | |
Public Member Functions inherited from MR.Std.Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty | |
| virtual void | Dispose () |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (MR.Std._ByValue_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty other) |
| Constructs a copy of another instance. The source remains alive. | |
| unsafe ulong | index () |
| Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception". | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (int value, MR.Std.VariantIndex_0 tag=default) |
Constructs the variant storing the element 0, of type int. | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (float value, MR.Std.VariantIndex_1 tag=default) |
Constructs the variant storing the element 1, of type float. | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (bool value, MR.Std.VariantIndex_2 tag=default) |
Constructs the variant storing the element 2, of type bool. | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (string value, MR.Std.VariantIndex_3 tag=default) |
Constructs the variant storing the element 3, of type std.string. | |
| unsafe | Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty (MR.Pdf.Cell.Const_Empty value, MR.Std.VariantIndex_4 tag=default) |
Constructs the variant storing the element 4, of type MR.Pdf.Cell.Empty. | |
| unsafe? int | getInt () |
Returns the element 0, of type int, read-only. If it's not the active element, returns null. | |
| unsafe? float | getFloat () |
Returns the element 1, of type float, read-only. If it's not the active element, returns null. | |
| unsafe? bool | getBool () |
Returns the element 2, of type bool, read-only. If it's not the active element, returns null. | |
| unsafe MR.Std.? Const_String | getStdString () |
Returns the element 3, of type std.string, read-only. If it's not the active element, returns null. | |
| unsafe MR.Pdf.Cell.? Const_Empty | getMRPdfCellEmpty () |
Returns the element 4, of type MR.Pdf.Cell.Empty, read-only. If it's not the active element, returns null. | |
Additional Inherited Members | |
Protected Member Functions inherited from MR.Std.Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty | |
| virtual unsafe void | Dispose (bool disposing) |
Protected Attributes inherited from MR.Misc.Object< Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty > | |
| bool | _IsOwningVal |
Properties inherited from MR.Misc.Object< Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty > | |
| 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. | |
Stores one of 5 objects: int, float, bool, std.string, MR.Pdf.Cell.Empty. This is the non-const half of the class.