14 #ifndef DCDECLARATION_H
15 #define DCDECLARATION_H
35 virtual const DCClass *as_class()
const;
37 virtual const DCSwitch *as_switch()
const;
39 virtual void output(std::ostream &out)
const;
40 void write(std::ostream &out,
int indent_level)
const;
43 virtual void output(std::ostream &out,
bool brief)
const=0;
44 virtual void write(std::ostream &out,
bool brief,
int indent_level)
const=0;
47 INLINE std::ostream &operator << (std::ostream &out,
const DCDeclaration &decl) {