class AnnotationMap

Defined at line 22 of file ../../src/developer/forensics/crash_reports/annotation_map.h

Public Methods

void AnnotationMap ()

Defined at line 24 of file ../../src/developer/forensics/crash_reports/annotation_map.h

template <typename T>
void AnnotationMap (const std::map<std::string, T> & init)

Defined at line 27 of file ../../src/developer/forensics/crash_reports/annotation_map.h

void AnnotationMap (std::initializer_list<std::pair<const std::string, std::string>> init)

Construct from an initializer list.

Defined at line 34 of file ../../src/developer/forensics/crash_reports/annotation_map.h

template <typename T, std::enable_if_t<std::is_convertible_v<T, std::string>, bool> = true>
AnnotationMap & Set (const std::string & key, const T & val)

A type that can be converted to std::string.

Defined at line 42 of file ../../src/developer/forensics/crash_reports/annotation_map.h

template <typename T, std::enable_if_t<!std::is_convertible_v<T, std::string>, bool> = true>
AnnotationMap & Set (const std::string & key, const T & val)

A type that cannot be converted to std::string.

Defined at line 49 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const std::string & key, const bool val)

Bools.

Defined at line 55 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const std::string & key, const ErrorOrString & val)

Defined at line 60 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const std::string & key, const Error & error)

Errors.

Defined at line 77 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const ::fuchsia::feedback::Annotation & annotation)

FIDL annotations.

Defined at line 82 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const AnnotationMap & annotations)

Another AnnotationMap.

Defined at line 88 of file ../../src/developer/forensics/crash_reports/annotation_map.h

AnnotationMap & Set (const std::vector< ::fuchsia::feedback::Annotation> & annotations)

Vectors of FIDL annotations.

Defined at line 96 of file ../../src/developer/forensics/crash_reports/annotation_map.h

template <typename T>
AnnotationMap & Set (const std::map<std::string, T> & annotations)

Generic maps.

Defined at line 105 of file ../../src/developer/forensics/crash_reports/annotation_map.h

bool Contains (const std::string & key)

Defined at line 112 of file ../../src/developer/forensics/crash_reports/annotation_map.h

const std::string & Get (const std::string & key)

Defined at line 114 of file ../../src/developer/forensics/crash_reports/annotation_map.h

const std::map<std::string, std::string> & Raw ()

Defined at line 119 of file ../../src/developer/forensics/crash_reports/annotation_map.h