class Array
Defined at line 62 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
An Array is a specialization of Value that contains multiple values as well as a display format.
Inherits from Value<std::vector<T>, FormatIndex>
Records
Functions
Array<T, FormatIndex>
public void Array<T, FormatIndex>(std::vector<T> values,
ArrayDisplayFormat
display_format)
Defined at line 90 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
Constructs an array consisting of values and a display format.
GetDisplayFormat
public
ArrayDisplayFormat
GetDisplayFormat()
Defined at line 94 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
Gets the display format for this array.
GetBuckets
public std::vector<HistogramBucket> GetBuckets()
Defined at line 106 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
Gets the buckets for this array interpreted as a histogram. If the array does not represent a valid histogram, the returned array will be empty.