Skip to content
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

C++ generated code is missing toXML const method #87

Open
danny-smit opened this issue Aug 24, 2015 · 0 comments
Open

C++ generated code is missing toXML const method #87

danny-smit opened this issue Aug 24, 2015 · 0 comments

Comments

@danny-smit
Copy link
Contributor

The IVEF sdk generates classes with a toXML method, which is declared as follows:

const QString& toXML(bool outputNamespace = true);

However there is no 'const' variant of these methods, which prevent implementors of this method to properly design their code with the use of const methods in the application implementing this code.

Although this method has the nice feature of caching previously generated XML, in interface processes, this is often only done once for each received piece of data. Therefore adding a method with the signature as follows would be very helpfull:

QString toXML(bool outputNamespace = true) const;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant