10 template<class K
,class V
>
21 Assoc
<String
, bool> *silent
;
26 Dstream(ostream
*r
, const char * rcfile
);
28 if rcfile == 0, then do not read any rc file
32 Dstream
&identify_as(String s
);
34 Dstream
&operator << (String s
);
37 a class for providing debug output of nested structures,
38 with indents according to \{\}()[].
40 One can turn on and off specific messages using the Assoc silent.
41 This can be done automatically:
43 #define DEBUG dstream_.identify_as(__PRETTY_FUNCTION__)
45 DEBUG << "a message\n";
47 Init for the class names which should be silent can be given in a rc file.