SSP21-CPP
IMessagePrinter.h
1 
2 #ifndef SSP21_IMESSAGEPRINTER_H
3 #define SSP21_IMESSAGEPRINTER_H
4 
5 #include "ssp21/util/SequenceTypes.h"
6 
7 namespace ssp21
8 {
9 
10  /**
11  * A simple interface for pretty printing
12  * complex messages as a sequence of individual fields
13  */
15  {
16 
17  public:
18 
19  virtual void print(const char* message) = 0;
20  virtual void print(const char* name, uint64_t value) = 0;
21  virtual void print(const char* name, const char* value) = 0;
22  virtual void print(const char* name, const seq32_t& data) = 0;
23  };
24 
25 }
26 
27 #endif
SSP21-cpp main namespace.
Definition: BufferTypes.h:12