summaryrefslogtreecommitdiff
path: root/include/base.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/base.h
parentf16847ab29d474e2b20d7f8c9f3a0f229b54c850 (diff)
Initial setup for dealing with object properties
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h
index 6acd805..1dc131e 100644
--- a/include/base.h
+++ b/include/base.h
@@ -17,6 +17,11 @@ class Base
{
public:
/**
+ * Constructor
+ */
+ Base() {}
+
+ /**
* Virtual destructor
*/
virtual ~Base() {}
@@ -66,6 +71,28 @@ public:
*/
virtual void __destruct() {}
+ /**
+ * Get access to a property by name
+ * @param string
+ * @return Property
+ */
+// Property operator[](const char *name);
+
+ /**
+ * Alternative way to access a property
+ * @param string
+ * @return Property
+ */
+// Property operator[](const std::string &name);
+
+protected:
+ /**
+ * All properties of the object
+ * @var Properties
+ */
+// Properties _properties;
+
+private:
};
/**