diff options
Diffstat (limited to 'src/mask.h')
-rw-r--r-- | src/mask.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -51,11 +51,6 @@ namespace ledger { -/** - * @brief Brief - * - * Long. - */ class mask_t { public: @@ -151,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 |