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