summaryrefslogtreecommitdiff
path: root/include/member.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/member.h')
-rw-r--r--include/member.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/member.h b/include/member.h
index bc96e52..347555a 100644
--- a/include/member.h
+++ b/include/member.h
@@ -31,82 +31,82 @@ public:
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
*/
- Member(const char *name, bool pub);
+ Member(const char *name, const FlagMemb &&flags);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, std::nullptr_t value);
+ Member(const char *name, const FlagMemb &&flags, std::nullptr_t value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, int value);
+ Member(const char *name, const FlagMemb &&flags, int value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, long value);
+ Member(const char *name, const FlagMemb &&flags, long value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, bool value);
+ Member(const char *name, const FlagMemb &&flags, bool value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, char value);
+ Member(const char *name, const FlagMemb &&flags, char value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, const std::string &value);
+ Member(const char *name, const FlagMemb &&flags, const std::string &value);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
* @param size String length
*/
- Member(const char *name, bool pub, const char *value, int size = -1);
+ Member(const char *name, const FlagMemb &&flags, const char *value, int size = -1);
/**
* Constructor
* @param name Name of the member
- * @param pub Is this a public property (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param value The value to add
*/
- Member(const char *name, bool pub, double value);
+ Member(const char *name, const FlagMemb &&flags, double value);
/**
* Constructor
* @param name Name of the method
- * @param pub Is this a public method (otherwise it is protected)
+ * @param flags Flag access to a class member (bublic, protected etc)
* @param method The method to add
*/
- Member(const char *name, bool pub, const _Method &method, const std::initializer_list<Argument> &arguments = {});
+ Member(const char *name, const FlagMemb &&flags, const _Method &method, const std::initializer_list<Argument> &arguments = {});
/**
* Copy constructor
@@ -161,10 +161,10 @@ private:
std::string _name;
/**
- * Is this a public property
+ * Flag access to a class member (bublic, protected etc)
* @var bool
*/
- bool _public;
+ FlagMemb _accflag;
/**
* The implementation for the member