Namespaces

Enumerations

enum ArrayDisplayFormat
Name Value
kFlat 0
kLinearHistogram 1
kExponentialHistogram 2

Describes how an array of values should be displayed.

Defined at line 19 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

enum LinkDisposition
Name Value
kChild 0
kInline 1

The disposition for a LinkValue describes how its contents should be included in the parent node.

Defined at line 226 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

enum PropertyFormat
Name Value
kInvalid 0
kInt 1
kUint 2
kDouble 3
kIntArray 4
kUintArray 5
kDoubleArray 6
kString 7
kBytes 8
kBool 9
kStringArray 10

Describes the format of a parsed property.

Defined at line 250 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

enum MissingValueReason
Name Value
kLinkNotFound 1
kLinkHierarchyParseFailure 2
kLinkInvalid 3

Defined at line 365 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

Records

Functions

  • fpromise::result<Hierarchy> ReadFromVmo (const zx::vmo & vmo)

    Construct a new Hierarchy by synchronously reading nodes out of

    the given VMO.

    Defined at line 622 of file ../../zircon/system/ulib/inspect/reader.cc

  • void PrintTo (const PropertyValue & property, std::ostream * os)

    Printers for inspect types.

    Defined at line 14 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

  • void PrintTo (const NodeValue & node, std::ostream * os)

    Defined at line 55 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

  • fpromise::result<Hierarchy> ReadFromSnapshot (Snapshot snapshot)

    Construct a new Hierarchy by synchronously reading nodes out of the

    given VMO Snapshot.

    Defined at line 617 of file ../../zircon/system/ulib/inspect/reader.cc

  • void PrintTo (const Hierarchy & hierarchy, std::ostream * os)

    Printer for Hierarchy wrapper.

    Defined at line 60 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

  • fpromise::result<Hierarchy> ReadFromBuffer (std::vector<uint8_t> buffer)

    Construct a new Hierarchy by synchronously reading nodes out of the

    contents of the given buffer.

    Defined at line 630 of file ../../zircon/system/ulib/inspect/reader.cc

  • void PrintAll (const Hierarchy & hierarchy, std::ostream * os)

    Prints all nodes and properties in the Hierarchy.

    It can be used for debugging, e.g., PrintAll(hierarchy,

    &std

    ::cout);

    Defined at line 65 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

  • fpromise::promise<Hierarchy> ReadFromInspector (Inspector insp)

    Construct a new Hierarchy by reading nodes out of the given Inspector, including

    all linked hierarchies.

    Defined at line 639 of file ../../zircon/system/ulib/inspect/reader.cc

  • void PublishVmo (async_dispatcher_t * dispatcherzx::vmo vmoVmoOptions opts)

    Publish a VMO according to `opts`.

    Defined at line 26 of file ../../sdk/lib/inspect/component/cpp/component.cc