class Spec
Defined at line 1001 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
Description of an element to be added to a session.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::string & component_url ()
The component URL of the element. Required.
Defined at line 1008 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
bool has_component_url ()
Defined at line 1012 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::std::string * mutable_component_url ()
The component URL of the element. Required.
Defined at line 1017 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_component_url ()
Defined at line 1025 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
const ::std::vector< ::fuchsia::element::Annotation> & annotations ()
Initial annotations on the element. Required, but can be an empty vector. If the element
manager URL annotation is included (which is allowed, but not necessary), then it *must*
match `component_url`.
Defined at line 1036 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
bool has_annotations ()
Defined at line 1040 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::std::vector< ::fuchsia::element::Annotation> * mutable_annotations ()
Initial annotations on the element. Required, but can be an empty vector. If the element
manager URL annotation is included (which is allowed, but not necessary), then it *must*
match `component_url`.
Defined at line 1047 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_annotations ()
Defined at line 1055 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
Spec & set_component_url (::std::string _value)
Spec & set_annotations (::std::vector< ::fuchsia::element::Annotation> _value)
void Spec ()
void Spec (Spec && other)
void ~Spec ()
Spec & operator= (Spec && other)
::std::unique_ptr<Spec> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Spec * _value, size_t _offset)
zx_status_t Clone (Spec * _result)