Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jschmidlapp

Pages: [1]
1
General Board / 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!

Pages: [1]