9 template<class K,class V>
13 a class for providing debug output of nested structures,
14 with indents according to \{\}()[].
16 One can turn on and off specific messages using the Assoc silent.
17 This can be done automatically:
19 #define DEBUG dstream_.identify_as(__PRETTY_FUNCTION__)
21 DEBUG << "a message\n";
23 Init for the class names which should be silent can be given in a rc file.
26 make a baseclass for indentable streams.
34 void output(String s);
35 Assoc<String, bool> *silent;
41 if rcfile == 0, then do not read any rc file.
44 Dstream(ostream *r, char const * rcfile);
46 Dstream &identify_as(String s);
48 Dstream &operator << (String s);
50 Output memory locations.
52 Dstream &operator << (void const *);
53 Dstream &operator << (char const *);