|
remotemono
|
#include <RMonoVariantArray_Def.h>
Public Types | |
| typedef RMonoVariantArray | Self |
| typedef RMonoVariant | Variant |
Public Member Functions | |
| RMonoVariantArray () | |
| RMonoVariantArray (std::nullptr_t) | |
| RMonoVariantArray (const Self &other) | |
| RMonoVariantArray (Self &&other) | |
| RMonoVariantArray (const std::vector< Variant > &vec) | |
| RMonoVariantArray (std::vector< Variant > &&vec) | |
| RMonoVariantArray (std::initializer_list< Variant > &&list) | |
| template<typename... VariantT> | |
| RMonoVariantArray (VariantT... list) | |
| Self & | operator= (const Self &other) |
| Self & | operator= (Self &&other) |
| size_t | size () const |
| bool | isNull () const |
| std::vector< Variant >::iterator | begin () |
| std::vector< Variant >::const_iterator | begin () const |
| std::vector< Variant >::iterator | end () |
| std::vector< Variant >::const_iterator | end () const |
| Variant & | operator[] (size_t idx) |
| const Variant & | operator[] (size_t idx) const |
| std::vector< Variant > & | data () |
| const std::vector< Variant > & | data () const |
An array of RMonoVariant objects.
This class is used in certain places where the raw Mono API has parameters of type void** representing arrays of Mono/.NET reference or value type instances, specifically in mono_runtime_invoke() or mono_property_get_value().
|
inline |
Construct an empty, non-null variant array.
|
inline |
Construct an empty, null variant array.
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inline |
Creates the array from an std::vector of RMonoVariant objects.
|
inline |
Creates the array from an std::vector of RMonoVariant objects.
|
inline |
Creates the array from an std::initializer_list of RMonoVariant objects.
|
inline |
Creates the array from a parameter pack of RMonoVariant objects.
|
inline |
Returns an iterator to the beginning of the array.
|
inline |
Returns a const-iterator to the beginning of the array.
|
inline |
Returns a reference to the std::vector holding the elements.
|
inline |
Returns a const-reference to the std::vector holding the elements.
|
inline |
Returns an iterator past the end of the array.
|
inline |
Returns a const-iterator past the end of the array.
|
inline |
Returns true if this is a null array. Note that empty arrays are not necessarily null arrays.
|
inline |
Returns a reference to an array element by index.
|
inline |
Returns a const-reference to an array element by index.
|
inline |
Returns the number of elements in the array.