summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/OutputUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
committerMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
commitadbc6ee084567a2fe6a696b7f67c80000e517ff8 (patch)
treead301b9b578daa2ffa73a79210e2d812e4a9924d /cpp/src/IceUtil/OutputUtil.cpp
parentdefault behavior of IcePatch client now calculates MD5s dynamically for (diff)
downloadice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.bz2
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.xz
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.zip
- Added isOpen() method to OutputUtil.
- Removed calls to strerror(errno) in slice2cpp and slice2cs because the std::fstream operations do not set errno when something goes wrong, so any error messages always showed "no error" at the end. - Added support for --impl option to slice2cs. - Found two places in slice2java where exceptions where exception handlers were not ordered into derived-to-base order.
Diffstat (limited to 'cpp/src/IceUtil/OutputUtil.cpp')
-rw-r--r--cpp/src/IceUtil/OutputUtil.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/OutputUtil.cpp b/cpp/src/IceUtil/OutputUtil.cpp
index 661ddf98970..fb6d6e2e0ab 100644
--- a/cpp/src/IceUtil/OutputUtil.cpp
+++ b/cpp/src/IceUtil/OutputUtil.cpp
@@ -73,6 +73,12 @@ IceUtil::OutputBase::open(const char* s)
_fout.open(s);
}
+bool
+IceUtil::OutputBase::isOpen()
+{
+ return _fout.is_open();
+}
+
void
IceUtil::OutputBase::print(const char* s)
{