All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Trace_JSONSerialization Class Reference

This class contains methods to read and write TraceCollections in JSON format. More...

Static Public Member Functions

static bool WriteCollectionsToJSON (JsWriter &js, const std::vector< std::shared_ptr< TraceCollection >> &collections)
 Write a JSON representation of collections. More...
 
static std::unique_ptr
< TraceCollection
CollectionFromJSON (const JsValue &)
 Creates a TraceCollection from a JSON value if possible. More...
 

Detailed Description

This class contains methods to read and write TraceCollections in JSON format.

This JSON format for a TraceCollection is an extension of the Chrome Tracing format.

Definition at line 42 of file jsonSerialization.h.

Member Function Documentation

static std::unique_ptr<TraceCollection> CollectionFromJSON ( const JsValue )
static

Creates a TraceCollection from a JSON value if possible.

static bool WriteCollectionsToJSON ( JsWriter js,
const std::vector< std::shared_ptr< TraceCollection >> &  collections 
)
static

Write a JSON representation of collections.


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