summaryrefslogtreecommitdiff
path: root/include/object/outputstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/object/outputstream.h')
-rw-r--r--include/object/outputstream.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/object/outputstream.h b/include/object/outputstream.h
index 70ebece..c6b503f 100644
--- a/include/object/outputstream.h
+++ b/include/object/outputstream.h
@@ -2,6 +2,9 @@
#define OUTPUTSTREAM_H
#include <stdint.h>
+#ifdef WITH_OSTREAM
+#include <ostream>
+#endif
class OutputStream {
private:
@@ -39,6 +42,10 @@ class OutputStream {
OutputStream & operator<<(double number);
OutputStream & operator<<(OutputStream & (*fun) (OutputStream &));
+#ifdef WITH_OSTREAM
+ OutputStream & operator<<(std::string s);
+#endif
+
void setBase(uint8_t b);
void printf_uint8(uint8_t num);
void printf_float(float num);