class Service
Defined at line 2449 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares a service capability backed by this component.
To learn more about services, see:
https://fuchsia.dev/fuchsia-src/glossary#service
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::string & name ()
(Required) The name of this service.
Defined at line 2456 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_name ()
Defined at line 2460 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_name ()
(Required) The name of this service.
Defined at line 2465 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_name ()
Defined at line 2473 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Service & set_name (::std::string _value)
const ::std::string & source_path ()
(Optional) The path to the service in the component's outgoing
directory.
Not set for built-in capabilities.
Defined at line 2485 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source_path ()
Defined at line 2489 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_path ()
(Optional) The path to the service in the component's outgoing
directory.
Not set for built-in capabilities.
Defined at line 2497 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_path ()
Defined at line 2505 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Service & set_source_path (::std::string _value)
void Service ()
void Service (Service && other)
void ~Service ()
Service & operator= (Service && other)
::std::unique_ptr<Service> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Service * _value, size_t _offset)
zx_status_t Clone (Service * _result)