default \t indentation, All comments

This commit is contained in:
Christopher Dunn 2015-01-25 16:01:59 -06:00
parent dea6f8d9a6
commit 1e21e63853

View File

@ -944,11 +944,17 @@ class StreamWriterBuilder {
CommentStyle cs_;
std::string indentation_;
public:
StreamWriterBuilder();
virtual ~StreamWriterBuilder();
virtual void setCommentStyle(CommentStyle cs);
virtual void setIndentation(std::string indentation);
virtual StreamWriter* newStreamWriter(std::ostream* sout) const;
};
StreamWriterBuilder::StreamWriterBuilder()
: cs_(CommentStyle::All)
, indentation_("\t")
{
}
StreamWriterBuilder::~StreamWriterBuilder()
{
}