Book a Demo

Author Topic: C++ namespace alias / code synchronization  (Read 2191 times)

jschmidlapp

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
C++ namespace alias / code synchronization
« 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!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8104
  • Karma: +118/-20
    • View Profile
Re: C++ namespace alias / code synchronization
« Reply #1 on: October 01, 2006, 05:19:19 pm »
Currently there isn't any support for namespace aliases.