Records

Functions

  • void EmplaceInspect (rapidjson::Document document, std::vector<InspectData> * out)

    Defined at line 40 of file ../../sdk/lib/diagnostics/reader/cpp/archive_reader.cc

  • std::string MakeSelector (std::string_view moniker, std::optional<std::vector<std::string>> inspect_tree_names, std::vector<std::string> hierarchy, std::optional<std::string> property)

    Construct a selector from the provided values:

    1) moniker: this should be an unsanitized moniker like "core/simple" or "core/less:simple".

    2) inspect_tree_names: if nullopt, uses the default tree name. If a list of names, puts them

    in the name filter list. If "...", constructs a filter list that matches

    any inspect tree name.

    3) hierarchy: the node path hierarchy. These should be sanitized, so asterisks and colons in

    the values need to be escaped (ie "\\*" or "\\:"). If an empty vector is provided,

    the root node will be inserted. If a non-empty vector is provided, note that it

    should start at the root node.

    4) property: the property to select. If nullopt, no property is inserted (ie the final node

    in `hierarchy` is used).

    Defined at line 271 of file ../../sdk/lib/diagnostics/reader/cpp/archive_reader.cc

  • std::string SanitizeMonikerForSelectors (std::string_view moniker)

    Defined at line 259 of file ../../sdk/lib/diagnostics/reader/cpp/archive_reader.cc