Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: jschmidlapp on September 29, 2006, 08:36:35 pm
-
I'm new to EA, so I'm not sure what support for C++ namespace aliases EA has.
Ideally I would like to do something like...
namespace a_b_c = A::B::C;
namespace a_b_c
{
class one
{
...
}
I can change the code gen templates to make it do this on initial forward generation, but when I synchronize it looks like EA doesn't recognize that class one is in the A::B::C package (it creates a completely new copy of the class in the one.hpp file).
This obviously isn't too important - this is the way that I'd LIKE to do it, but mainly just curious if EA supports something like this (maybe using the package alias field?) or if I'm missing something...
Thanks!
-
Currently there isn't any support for namespace aliases.