summaryrefslogtreecommitdiff
path: root/include/object/outputstream.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
commit812899797d6d8ea773bf960cd74680d20043c5a4 (patch)
tree470bb05de36285e9f8b86fa34daebd163e3860ed /include/object/outputstream.h
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
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