summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/OutputUtil.h
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/include/IceUtil/OutputUtil.h
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/include/IceUtil/OutputUtil.h')
-rw-r--r--cpp/include/IceUtil/OutputUtil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/OutputUtil.h b/cpp/include/IceUtil/OutputUtil.h
index 0d718ec838d..b1f27f26fe7 100644
--- a/cpp/include/IceUtil/OutputUtil.h
+++ b/cpp/include/IceUtil/OutputUtil.h
@@ -42,6 +42,7 @@ public:
void setUseTab(bool); // Should we output tabs?
void open(const char*); // Open output stream.
+ bool isOpen(); // Is a file stream open?
virtual void print(const char*); // Print a string.