Poplar and PopLibs
poplar::ProfileValue Class Reference

ProfileValue represents a read-only JSON-like tree of values that are used to store the output of the profiler. More...

#include <ProfileValue.hpp>

Detailed Description

ProfileValue represents a read-only JSON-like tree of values that are used to store the output of the profiler.

Each value can be one of:

  • A boolean
  • A string
  • A double-precision number
  • A vector<> of child values
  • A map<string, ...> of child values. Only string keys are supported.

If an invalid access is made, for example an out-of-range access or accessing the wrong type, then an exception is thrown. It is possible to write code that should never throw an exception by using type().

See the Poplar and PopLibs User Guide for details of the data in the report.


The documentation for this class was generated from the following file: