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