summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2019-03-15 14:37:24 -0400
committerJoe George <joe@zeroc.com>2019-03-15 14:46:40 -0400
commitdaaf57c31b59aa6cafa8e69350e948ca49b5b108 (patch)
treecf11d2d1c35ccd26c51494a884d7c937fd977f09 /cpp/include
parentSwift Proxy fixes & updates (diff)
downloadice-daaf57c31b59aa6cafa8e69350e948ca49b5b108.tar.bz2
ice-daaf57c31b59aa6cafa8e69350e948ca49b5b108.tar.xz
ice-daaf57c31b59aa6cafa8e69350e948ca49b5b108.zip
Add breakBeforeBlock option to IceUtilInternal::Output
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/IceUtil/OutputUtil.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/include/IceUtil/OutputUtil.h b/cpp/include/IceUtil/OutputUtil.h
index 4a712643473..0f5994694b9 100644
--- a/cpp/include/IceUtil/OutputUtil.h
+++ b/cpp/include/IceUtil/OutputUtil.h
@@ -87,9 +87,9 @@ class ICE_API Output : public OutputBase
{
public:
- Output();
- Output(std::ostream&);
- Output(const char*);
+ Output(bool = true);
+ Output(std::ostream&, bool = true);
+ Output(const char*, bool = true);
virtual void print(const std::string&); // Print a string.
@@ -104,6 +104,7 @@ private:
std::string _blockStart;
std::string _blockEnd;
int _par; // If >= 0, we are writing a parameter list.
+ bool _breakBeforeBlock; // If true break before starting a new block.
};
template<typename T>