namespace inspect
Namespaces
Records
Functions
PrintTo
void PrintTo(const PropertyValue & property, std::ostream * os)
Defined at line 14 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc
Printers for inspect types.
PrintTo
void PrintTo(const NodeValue & node, std::ostream * os)
Defined at line 55 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc
ReadFromVmo
result
ReadFromVmo(const zx::vmo & vmo)
Defined at line 606 of file ../../zircon/system/ulib/inspect/reader.cc
Construct a new Hierarchy by synchronously reading nodes out of the given VMO.
PrintTo
void PrintTo(const Hierarchy & hierarchy, std::ostream * os)
Defined at line 60 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc
Printer for Hierarchy wrapper.
ReadFromSnapshot
result
ReadFromSnapshot(
Snapshot
snapshot)
Defined at line 601 of file ../../zircon/system/ulib/inspect/reader.cc
Construct a new Hierarchy by synchronously reading nodes out of the given VMO Snapshot.
ReadFromBuffer
result
ReadFromBuffer(
vector
buffer)
Defined at line 614 of file ../../zircon/system/ulib/inspect/reader.cc
Construct a new Hierarchy by synchronously reading nodes out of the contents of the given buffer.
ReadFromInspector
fpromise::promise<Hierarchy> ReadFromInspector(
Inspector
insp)
Defined at line 623 of file ../../zircon/system/ulib/inspect/reader.cc
Construct a new Hierarchy by reading nodes out of the given Inspector, including all linked hierarchies.
PublishVmo
void PublishVmo(async_dispatcher_t * dispatcher,
vmo
vmo,
VmoOptions
opts)
Defined at line 26 of file ../../sdk/lib/inspect/component/cpp/component.cc
Publish a VMO according to `opts`.
Enums
enum class ArrayDisplayFormat |
kFlat |
0 |
The array should be displayed as a flat list of numeric types.
|
kLinearHistogram |
1 |
The array consists of parameters and buckets for a linear histogram.
|
kExponentialHistogram |
2 |
The array consists of parameters and buckets for an exponential histogram.
|
Defined at line 19 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
Describes how an array of values should be displayed.
enum LinkDisposition |
kChild |
0 |
Include the linked Tree as a child of the parent node.
|
kInline |
1 |
Inline all children of the linked Tree's root as children of the parent node.
|
Defined at line 226 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
The disposition for a LinkValue describes how its contents should be included in the parent node.
enum class PropertyFormat |
kInvalid |
0 |
kInt |
1 |
kUint |
2 |
kDouble |
3 |
kIntArray |
4 |
kUintArray |
5 |
kDoubleArray |
6 |
kString |
7 |
kBytes |
8 |
kBool |
9 |
kStringArray |
10 |
Defined at line 250 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h
Describes the format of a parsed property.
enum class MissingValueReason |
kLinkNotFound |
1 |
A referenced hierarchy in a link was not found.
|
kLinkHierarchyParseFailure |
2 |
A linked hierarchy at this location could not be parsed successfully.
|
kLinkInvalid |
3 |
A link we attempted to follow was not properly formatted, or its format is not known to this reader.
|
Defined at line 365 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h