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

convert output to string only when needed? #2

Open
ltalirz opened this issue Jul 12, 2018 · 1 comment
Open

convert output to string only when needed? #2

ltalirz opened this issue Jul 12, 2018 · 1 comment

Comments

@ltalirz
Copy link
Collaborator

ltalirz commented Jul 12, 2018

e.g. calcAV currently returns its results in an output string.

If one wants to use these values further down the toolchain, they will need to be parsed, i.e. one is doing: compute values => produce string => parse string to get values

What about returning a std::map<std::string, std::double> instead and having a function that prints them out as a string when needed?

@ltalirz
Copy link
Collaborator Author

ltalirz commented Nov 4, 2019

Discussion with Maciek: already done for major parts of zeo++ but not all functions may be converted

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