diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-22 13:39:21 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-22 13:39:21 -0700 |
commit | f96fc6c53bc8bd8888aeb291441f61a65b439413 (patch) | |
tree | 030815351f20cfa6dfb36c816c5c0d737516e784 /include/base.h | |
parent | f16847ab29d474e2b20d7f8c9f3a0f229b54c850 (diff) |
Initial setup for dealing with object properties
Diffstat (limited to 'include/base.h')
-rw-r--r-- | include/base.h | 27 |
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: }; /** |