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