diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2014-02-14 16:30:23 +0100 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2014-02-14 16:30:23 +0100 |
commit | 06aa5fd5afaba69544b93654fb0a4f9c2651306e (patch) | |
tree | 99cd2ee120786a84531b450f9ef64e2319ef5192 /include/member.h | |
parent | 5c23fee5ce58ae66a70f3bd19a1dc2dff7220f13 (diff) |
Merged pull request #14
Diffstat (limited to 'include/member.h')
-rw-r--r-- | include/member.h | 44 |
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 |