From 2c80227339538154ad0869e746f52db805325589 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 05:13:21 -0400 Subject: Added basic foundation for XML reporting --- src/mask.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mask.h') diff --git a/src/mask.h b/src/mask.h index a7dea7cf..18f1893d 100644 --- a/src/mask.h +++ b/src/mask.h @@ -146,6 +146,12 @@ inline std::ostream& operator<<(std::ostream& out, const mask_t& mask) { return out; } +inline void to_xml(std::ostream& out, const mask_t& mask) +{ + push_xml x(out, "mask"); + out << x.guard(mask.expr.str()); +} + } // namespace ledger #endif // _MASK_H -- cgit v1.2.3