class AnnotationKey

Defined at line 98 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_types.h

The key of an [`fuchsia.element/Annotation`].

Public Methods

void AnnotationKey (Storage_ storage)
void AnnotationKey (::std::string namespace_, ::std::string value)
void AnnotationKey ()

Default constructs a |AnnotationKey| only if all of its members are default constructible.

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_types.h

void AnnotationKey (AnnotationKey && )

Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_types.h

void AnnotationKey (const AnnotationKey & other)
AnnotationKey & operator= (AnnotationKey && )

Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_types.h

AnnotationKey & operator= (const AnnotationKey & other)
bool operator== (const AnnotationKey & other)
bool operator!= (const AnnotationKey & other)
const ::std::string & namespace_ ()

A namespace that disambiguates groups of keys across clients.

This is intended to group related keys together under the same

identifier, and avoid naming collisions. For example, a session may

use a custom namespace to define annotations that are specific

to its implementation.

The namespace is required and must be non-empty.

The namespace "global" is represents the global namespace, reserved for

annotations common across many products and session components.

To ensure compatibility, clients should use a unique namespace,

like a UUID or the client's component URL, when introducing new keys.

::std::string & namespace_ ()

A namespace that disambiguates groups of keys across clients.

This is intended to group related keys together under the same

identifier, and avoid naming collisions. For example, a session may

use a custom namespace to define annotations that are specific

to its implementation.

The namespace is required and must be non-empty.

The namespace "global" is represents the global namespace, reserved for

annotations common across many products and session components.

To ensure compatibility, clients should use a unique namespace,

like a UUID or the client's component URL, when introducing new keys.

AnnotationKey & namespace_ (::std::string value)

A namespace that disambiguates groups of keys across clients.

This is intended to group related keys together under the same

identifier, and avoid naming collisions. For example, a session may

use a custom namespace to define annotations that are specific

to its implementation.

The namespace is required and must be non-empty.

The namespace "global" is represents the global namespace, reserved for

annotations common across many products and session components.

To ensure compatibility, clients should use a unique namespace,

like a UUID or the client's component URL, when introducing new keys.

const ::std::string & value ()

An identifier for this annotation, uniquely identifying the annotation

within `namespace`.

::std::string & value ()

An identifier for this annotation, uniquely identifying the annotation

within `namespace`.

AnnotationKey & value (::std::string value)

An identifier for this annotation, uniquely identifying the annotation

within `namespace`.

void AnnotationKey (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits