P4C
The P4 Compiler
Loading...
Searching...
No Matches
Logging::Writer Class Referenceabstract

#include <rapidjson_adapter.h>

Inheritance diagram for Logging::Writer:
[legend]

Public Member Functions

virtual void Bool (bool b)=0
 
virtual void Double (double d)=0
 
virtual void EndArray ()=0
 
virtual void EndObject ()=0
 
virtual void Int (int n)=0
 
virtual void Key (const char *s)=0
 
virtual void StartArray ()=0
 
virtual void StartObject ()=0
 
virtual void String (const char *s)=0
 

Detailed Description

Since rapidjson doesn't use virtual inheritance for PrettyWriter, we need this adapter class to be able to pick between pretty and plain json writers.