summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h
index bd681b07..94002bef 100644
--- a/src/value.h
+++ b/src/value.h
@@ -870,6 +870,10 @@ public:
return 1;
}
+ bool empty() const {
+ return size() == 0;
+ }
+
/**
* Informational methods.
*/
@@ -978,6 +982,8 @@ struct sort_value_t
bool sort_value_is_less_than(const std::list<sort_value_t>& left_values,
const std::list<sort_value_t>& right_values);
+void to_xml(std::ostream& out, const value_t& value);
+
} // namespace ledger
#endif // _VALUE_H