summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/OutputUtil.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-06-21 21:58:37 +0000
committerMarc Laukien <marc@zeroc.com>2001-06-21 21:58:37 +0000
commitc875f9bc1bae3d67e197563f8cc3083035c693ab (patch)
tree4d0947f9ec78cd0d6e629e3e88e7eb1cb92ea353 /cpp/src/Slice/OutputUtil.cpp
parentslice2html (diff)
downloadice-c875f9bc1bae3d67e197563f8cc3083035c693ab.tar.bz2
ice-c875f9bc1bae3d67e197563f8cc3083035c693ab.tar.xz
ice-c875f9bc1bae3d67e197563f8cc3083035c693ab.zip
started with splice2html
Diffstat (limited to 'cpp/src/Slice/OutputUtil.cpp')
-rw-r--r--cpp/src/Slice/OutputUtil.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/Slice/OutputUtil.cpp b/cpp/src/Slice/OutputUtil.cpp
index ff17abd6e0b..1d94d0c3713 100644
--- a/cpp/src/Slice/OutputUtil.cpp
+++ b/cpp/src/Slice/OutputUtil.cpp
@@ -36,6 +36,15 @@ Slice::Output::Output()
{
}
+Slice::Output::Output(const char* s)
+ : pos_(0),
+ indent_(0),
+ indentSave_(-1),
+ separator_(true)
+{
+ open(s);
+}
+
void
Slice::Output::open(const char* s)
{