42string DapIndent::_indent;
44void DapIndent::Indent() { _indent +=
" "; }
46void DapIndent::UnIndent() {
47 if (_indent.length() == 0)
49 if (_indent.length() == 4)
52 _indent = _indent.substr(0, _indent.length() - 4);
55void DapIndent::Reset() { _indent =
""; }
57const string &DapIndent::GetIndent() {
return _indent; }
59void DapIndent::SetIndent(
const string &indent) { _indent = indent; }
61ostream &DapIndent::LMarg(ostream &strm) {
top level DAP object to house generic methods