Until this PR, generated class can only exist in the global scope. However, most classes and projects should be scoped to a namespace. This PR enables that by adding a std::vector<std::string> namespaces parameter to the CppClassGenerator, and formats the output accordingly.
Namespaces
Until this PR, generated class can only exist in the global scope. However, most classes and projects should be scoped to a namespace. This PR enables that by adding a
std::vector<std::string> namespaces
parameter to theCppClassGenerator
, and formats the output accordingly.