summaryrefslogtreecommitdiff
path: root/include/protected.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protected.h')
-rw-r--r--include/protected.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/include/protected.h b/include/protected.h
deleted file mode 100644
index f3e668a..0000000
--- a/include/protected.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Protected.h
- *
- * Class for adding public properties to a class
- *
- * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
- * @copyright 2013 Copernica BV
- */
-
-/**
- * Namespace
- */
-namespace Php {
-
-/**
- * Class definition
- */
-class Protected : public Member
-{
-public:
- /**
- * Constructor
- * @param name Name of the property
- * @param value Default value of the property
- */
- Protected(const char *name) : Member(name, false) {}
- Protected(const char *name, std::nullptr_t value) : Member(name, false, value) {}
- Protected(const char *name, int value) : Member(name, false, value) {}
- Protected(const char *name, long value) : Member(name, false, value) {}
- Protected(const char *name, bool value) : Member(name, false, value) {}
- Protected(const char *name, char value) : Member(name, false, value) {}
- Protected(const char *name, const std::string &value) : Member(name, false, value) {}
- Protected(const char *name, const char *value, int size=-1) : Member(name, false, value, size) {}
- Protected(const char *name, double value) : Member(name, false, value) {}
-
- /**
- * Constructor
- * @param name Name of the property
- * @param method Method to add
- * @param arguments Optional argument information
- */
- Protected(const char *name, const _Method &method, const std::initializer_list<Argument> &arguments = {}) : Member(name, false, method, arguments) {}
-
- /**
- * Destructor
- */
- virtual ~Protected() {}
-
-};
-
-/**
- * End of namespace
- */
-}
-