| 92 | |
| 93 | |
| 94 | std::string QName::toString() const |
| 95 | { |
| 96 | std::string r; |
| 97 | if (!_ns.empty()) |
| 98 | { |
| 99 | r += _ns; |
| 100 | r += '#'; |
| 101 | } |
| 102 | |
| 103 | r += _name; |
| 104 | return r; |
| 105 | } |
| 106 | |
| 107 | |
| 108 | std::ostream& operator << (std::ostream& os, const QName& qn) |
no test coverage detected