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