-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getter/setter customization #59
Comments
also, sometimes , i want to generate code like this, add inline const before Get Method inline const std::string &GetWatchJobName() const { return WatchJobName; } inline const std::vectorstd::string &GetWatchValueList() const { inline const std::vectorstd::string &GetAttributeNames() const { private: |
I found #11, but it does not work for me.
my code is like this:
class WatchData {
public:
std::string GetSubscribeName() const { return SubscribeName; }
void SetSubscribeName(const std::string &subscribeName) {
mSubscribeName = subscribeName;
}
private:
std::string mSubscribeName;
};
however, when use the plugin, i cannot generate code above.
Is there any way to generate code for customization
The text was updated successfully, but these errors were encountered: