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.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/object/outputstream.h b/include/object/outputstream.h
index c6b503f..97887e9 100644
--- a/include/object/outputstream.h
+++ b/include/object/outputstream.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef OUTPUTSTREAM_H
#define OUTPUTSTREAM_H
@@ -52,25 +57,18 @@ class OutputStream {
};
-// ENDL: new line character (and flush)
OutputStream & endl(OutputStream & os);
-// BIN: print numbers in binary form.
OutputStream & bin(OutputStream & os);
-// OCT: print numbers in octal form.
OutputStream & oct(OutputStream & os);
-// DEC: print numbers in decimal form.
OutputStream & dec(OutputStream & os);
-// HEX: print numbers in hexadecimal form.
OutputStream & hex(OutputStream & os);
-// FLUSH: flush OutputStream buffer
OutputStream & flush(OutputStream & os);
-// TERM: zero-termination
OutputStream & term(OutputStream & os);
#endif //OUTPUTSTREAM_H