-
Notifications
You must be signed in to change notification settings - Fork 1
Namespace mapping
Loic Oudot edited this page Nov 4, 2013
·
2 revisions
The mappings between java package name and C++ namespace class are fully customizable inside the xml mappings files.
<mappings>
<namespaces>
<namespace package="demo.*">cppDemo</namespace>
<namespace package="demo.Sample">otherNamespace</namespace>
</namespaces>
</mappings>
You can define a set of package/namespace mappings rules with wildcard and regex. Like for URIs, the rule that match the best package name is used.
For example :
-
demo.Sample
becomesotherNamespace::Sample
-
demo.Interface1
becomescppDemo::Interface1
-
java.demo.Sample
becomesjava::demo::Sample