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

Stores one of 5 objects: int, float, bool, std.string, MR.Pdf.Cell.Empty. This is the const half of the class. More...

+ Inheritance diagram for MR.Std.Const_Variant_Int_Float_Bool_StdString_MRPdfCellEmpty:

Classes

struct  _Underlying
 

Public Member Functions

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.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- 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.
 

Detailed Description

Stores one of 5 objects: int, float, bool, std.string, MR.Pdf.Cell.Empty. This is the const half of the class.


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