|
Wasmtime
|
Class representing a component model tuple. More...
#include <val.hh>
Public Member Functions | |
| Tuple (Raw &&capi) | |
| Tuple (const Tuple &other) | |
Copy constructor to clone other. More... | |
| Tuple & | operator= (const Tuple &other) |
Copy assignment to clone from other. More... | |
| Tuple (Tuple &&other) | |
Move constructor to move the contents of other. More... | |
| Tuple & | operator= (Tuple &&other) |
Move assignment to move the contents of other. More... | |
| const Raw * | capi () const |
| Returns a pointer to the underlying C API representation. More... | |
| Tuple (std::vector< Val > entries) | |
| Creates a new tuple from the named field pairs provided. | |
| size_t | size () const |
| Returns the number of entries in the tuple. | |
| const Val * | begin () const |
| Returns an iterator to the beginning of the tuple. | |
| const Val * | end () const |
| Returns an iterator to the end of the tuple. | |
Static Public Member Functions | |
| static const Tuple * | from_capi (const Raw *capi) |
| static Tuple * | from_capi (Raw *capi) |
| static const Raw * | to_capi (const Tuple *capi) |
| static Raw * | to_capi (Tuple *capi) |
Friends | |
| class | Val |
Class representing a component model tuple.
|
inlineexplicit |
|
inline |
Copy constructor to clone other.
|
inline |
Move constructor to move the contents of other.
|
inline |
Returns a pointer to the underlying C API representation.
Copy assignment to clone from other.
Move assignment to move the contents of other.