Add `ctf::src::Ctf2MetadataStreamParser` class (JSON text sequence)
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 19 Jun 2022 01:28:48 +0000 (21:28 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit1947f6c6b28cc0114f7458816ff9e848ca07d951
tree8aa14b8f73d3e261d016563a9ec7e1992d8edc66
parent8adbf88f076e750c7579424f1a370ae4b980d8f2
Add `ctf::src::Ctf2MetadataStreamParser` class (JSON text sequence)

This patch adds `ctf::src::Ctf2MetadataStreamParser` which inherits
`ctf::src::MetadataStreamParser` to implement a CTF 2 metadata stream
(JSON text sequence) parser.

The parser uses `Ctf2JsonAnyFragmentValReq` to validate each fragment,
and also performs other validation at the JSON level.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I29a29e589b9de998a2fadf7be96871902e3fd76a

Change-Id: I9ab6b95a17f96a11d8c9db2baa27e28099b0dbcc
src/plugins/ctf/common/src/metadata/json/Makefile.am
src/plugins/ctf/common/src/metadata/json/ctf-2-metadata-stream-parser.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/ctf-2-metadata-stream-parser.hpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/json-fcs-with-role.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/json-fcs-with-role.hpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/scope-fc-from-json-val.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/scope-fc-from-json-val.hpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/utils.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/json/utils.hpp [new file with mode: 0644]
This page took 0.02441 seconds and 5 git commands to generate.