summaryrefslogtreecommitdiff
path: root/include/interface.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 15:48:29 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 15:48:29 +0100
commit1a8c587f3a67db2e5c38cc525b29800e86f27936 (patch)
tree38b0a17b046d2cfdd76a5e03bfb97fddfbcaceed /include/interface.h
parente45c7c392add8fdcd0d8fe06bbb790cea2f865f0 (diff)
magic methods no longer are virtual, so that more signatures are acceptable. added support for __callStatic()
Diffstat (limited to 'include/interface.h')
-rw-r--r--include/interface.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/include/interface.h b/include/interface.h
index f7ef387..b0469f4 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -40,59 +40,6 @@ public:
private:
/**
- * Construct a new instance of the object
- * @return Base
- */
- virtual Base* construct() const override
- {
- // this does not occur for interfaces
- return nullptr;
- }
-
- /**
- * Construct a clone of the object
- * @param orig
- * @return Base
- */
- virtual Base* clone(Base *orig) const override
- {
- // this does not occur for interfaces
- return nullptr;
- }
-
- /**
- * Is this a traversable interface?
- * @return bool
- */
- virtual bool traversable() const override
- {
- // interfaces are never traversed
- return false;
- }
-
- /**
- * Compare two objects
- * @param object1
- * @param object2
- * @return int
- */
- virtual int compare(Base *object1, Base *object2) const override
- {
- // this is never called for interfaces
- return 0;
- }
-
- /**
- * Is this a serializable class?
- * @return bool
- */
- virtual bool serializable() const override
- {
- // not called for interfaces
- return false;
- }
-
- /**
* Namespaces have access to the private base class
*/
friend class Namespace;