BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
base
src
io
Printable.h
1
#pragma once
2
3
#include <iosfwd>
4
#include <string>
5
6
namespace
BeeeOn {
7
8
class
Printable
{
9
public
:
10
virtual
void
print(
const
std::string &text,
bool
newline =
true
) = 0;
11
};
12
16
class
IOSPrintable
:
public
Printable
{
17
public
:
18
IOSPrintable
(std::ostream &out);
19
20
void
print(
const
std::string &text,
bool
newline =
true
)
override
;
21
22
private
:
23
std::ostream &m_out;
24
};
25
26
}
BeeeOn::Printable
Definition:
Printable.h:8
BeeeOn::IOSPrintable
Definition:
Printable.h:16
Generated by
1.8.5