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
31 Dstream &identify_as(String s);
33 Dstream &operator << (String s);
36 a class for providing debug output of nested structures,
37 with indents according to \{\}()[].
39 One can turn on and off specific messages using the Assoc silent.
40 This can be done automatically:
42 #define DEBUG dstream_.identify_as(__PRETTY_FUNCTION__)
44 DEBUG << "a message\n";
46 Init for the class names which should be silent can be given in a rc file.