1
General Board / Specifying namespace for generated c++ code.
« on: October 14, 2003, 08:10:23 am »
Hi.
I would like to know how does one specify the namespace to use for generated c++ headers?
I.e.; if I want all my generated classes to reside in namespace "foo" (sorry for the over-used but ever handy identifier), where and how do I specify this in the project settings? Is this possible?
I.e. for a vanilla generated class A; which will look like this:
namespace foo
{
class A
{
};
}
How do I get generated classes to be contained in a namespace as above?
It does not seem like the only reference to namespaces I found in EA is what I need.
I am probably missing some obvious detail somewhere.
Greetings,
Andre
I would like to know how does one specify the namespace to use for generated c++ headers?
I.e.; if I want all my generated classes to reside in namespace "foo" (sorry for the over-used but ever handy identifier), where and how do I specify this in the project settings? Is this possible?
I.e. for a vanilla generated class A; which will look like this:
namespace foo
{
class A
{
};
}
How do I get generated classes to be contained in a namespace as above?
It does not seem like the only reference to namespaces I found in EA is what I need.
I am probably missing some obvious detail somewhere.
Greetings,
Andre