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

Support namespaces for qtcpp generator #19

Closed
jryannel opened this issue Feb 6, 2017 · 2 comments
Closed

Support namespaces for qtcpp generator #19

jryannel opened this issue Feb 6, 2017 · 2 comments
Milestone

Comments

@jryannel
Copy link
Collaborator

jryannel commented Feb 6, 2017

There shall be common helper functions for the qtcpp generator to create an open and closing namespace.

Additional a helper function needs to be available to convert a type into a namespace type.

@jryannel
Copy link
Collaborator Author

jryannel commented Mar 29, 2017

A module with org.example.echo should result into a namespace of

Opening a namespace {{module|open_ns}}

// open namespace org.example.echo
namespace org { namespace example { namespace echo {

And the closing namespace {{module|close_ns}}

// close namespace org.example.echo
} } }

And the the use case of using a nested namespace {{import|use_ns}}

using namespace org::example::echo

@jryannel jryannel added this to the 17.04 milestone Mar 31, 2017
@jryannel
Copy link
Collaborator Author

jryannel commented Apr 4, 2017

See 1496c73
and 8db91c5

@jryannel jryannel closed this as completed Apr 4, 2017
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