summaryrefslogtreecommitdiff
path: root/include/hashmember.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-10-22 13:39:21 -0700
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-10-22 13:39:21 -0700
commitf96fc6c53bc8bd8888aeb291441f61a65b439413 (patch)
tree030815351f20cfa6dfb36c816c5c0d737516e784 /include/hashmember.h
parentf16847ab29d474e2b20d7f8c9f3a0f229b54c850 (diff)
Initial setup for dealing with object properties
Diffstat (limited to 'include/hashmember.h')
-rw-r--r--include/hashmember.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hashmember.h b/include/hashmember.h
index d476b55..e0964a5 100644
--- a/include/hashmember.h
+++ b/include/hashmember.h
@@ -213,8 +213,19 @@ private:
* Only value objects may construct members
*/
friend class Value;
+ friend class Properties;
};
+
+/**
+ * Custom output stream operator
+ * @param stream
+ * @param value
+ * @return ostream
+ */
+std::ostream &operator<<(std::ostream &stream, const HashMember<int> &value);
+std::ostream &operator<<(std::ostream &stream, const HashMember<std::string> &value);
+
/**
* End of namespace