[great-users] namespace missing in c++ code when using nested libraries containing connections

Tim Belschner tim.belschner at ils.uni-stuttgart.de
Thu Oct 23 04:18:11 CDT 2014


Hello everyone,

 

I am facing a namespace issue again when using connections within nested
libraries with namespaces.

As you can see when generating the code of the small example
http://www.ils.uni-stuttgart.de/nested_libraries_and_connections.zip , the
namespaces "NS_Level2::NS_Level1::" of the connection in Rule3 are missing
in the .h and .cpp files. This occurs when using a PatternAssociation
between the src and dst Atoms, only. In comparison to that, the namespaces
are implemented correctly if I use a PatternClass representation (see
Rule2).

Unfortunately, I couldn't locate the cause within the udm or code generator
source code, which is why I would like to ask if someone could have a look
at it.

 

Thanks and best regards

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20141023/bc24df13/attachment.html 


More information about the great-users mailing list