diff options
Diffstat (limited to 'cpp/src/Slice/OutputUtil.h')
-rw-r--r-- | cpp/src/Slice/OutputUtil.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/cpp/src/Slice/OutputUtil.h b/cpp/src/Slice/OutputUtil.h index 69e93d9a9e9..f4f634d5981 100644 --- a/cpp/src/Slice/OutputUtil.h +++ b/cpp/src/Slice/OutputUtil.h @@ -37,7 +37,12 @@ class ICE_API Output : ::__Ice::noncopyable public: Output(); - Output(const char*); + Output(const char*);
+
+ void setBeginBlock(const char *); // what do we use at block starts?
+ void setEndBlock(const char *); // what do we use the block end?
+ void setIndent(int); // what is the indent level?
+ void setUseTab(bool); // should we output tabs? void open(const char*); // Open output stream @@ -63,7 +68,12 @@ private: int pos_; int indent_; std::stack<int> indentSave_; - bool separator_; + bool separator_;
+
+ std::string _blockStart;
+ std::string _blockEnd;
+ bool _useTab;
+ int _indentSize; }; template<typename T> |