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