< prev index next > src/hotspot/share/utilities/ostream.hpp
Print this page
const int _indentation;
const bool _old_autoindent;
NONCOPYABLE(StreamIndentor);
public:
! StreamIndentor(outputStream* os, int indentation) :
_stream(os),
_indentation(indentation),
_old_autoindent(_stream->set_autoindent(true)) {
_stream->inc(_indentation);
const int _indentation;
const bool _old_autoindent;
NONCOPYABLE(StreamIndentor);
public:
! StreamIndentor(outputStream* os, int indentation = 2) :
_stream(os),
_indentation(indentation),
_old_autoindent(_stream->set_autoindent(true)) {
_stream->inc(_indentation);
< prev index next >